Part Number Hot Search : 
XEB333 AD737 BCX70G 2N2528 R1800 20D181K UR202 YGV639
Product Description
Full Text Search
 

To Download 2000223 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
PM7341
S/UNI-IMA-84
S/UNI INVERSE MULTIPLEXING FOR ATM, 84 LINKS
DATASHEET
PROPRIETARY AND CONFIDENTIAL PRELIMINARY ISSUE 4: JULY 2001
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
iii
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
REVISION HISTORY Issue No. 1 2 3 Issue Date February, 2000 March, 2000 February, 2001 Details of Change Creation of Document. Added details in Register Section, Functional Description, Operations and D.C. characteristics. Added details in interrupt reporting structure, SBI async/sync support clarified. Increased number of TADR pins to 11 for glueless interconnect to the S/UNIAPEX. Rearranged IMA context and configuration tables. Added capability to add/delete delay from active groups. Additional detailed added.
4
July, 2001
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
iv
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
CONTENTS 1 2 3 4 5 DEFINITIONS .........................................................................................22 FEATURES.............................................................................................24 APPLICATIONS ......................................................................................30 REFERENCES .......................................................................................31 APPLICATION EXAMPLES ....................................................................32 5.1 5.2 6 7 8 9 ATM MULTISERVICE SWITCH IMA / UNI PORT CARD .............32 ATM MULTISERVICE SWITCH, ANY SERVICE ANY PORT CARD .....................................................................................................32
BLOCK DIAGRAM ..................................................................................34 DESCRIPTION .......................................................................................35 PIN DIAGRAM ........................................................................................38 PIN DESCRIPTION ................................................................................40 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 RECEIVE SLAVE ATM INTERFACE (ANY-PHY MODE) (28 SIGNALS) ....................................................................................40 RECEIVE SLAVE ATM INTERFACE (UTOPIA L2 MODE) (26 SIGNALS) ....................................................................................43 TRANSMIT SLAVE INTERFACE (ANY-PHY MODE) (34 SIGNALS)45 TRANSMIT SLAVE INTERFACE (UTOPIA L2 MODE) (26 SIGNALS) ....................................................................................48 MICROPROCESSOR INTERFACE (31 SIGNALS) .....................50 SDRAM I/F (35 SIGNALS) ...........................................................52 CLK/DATA (129 SIGNALS) ..........................................................55 SBI INTERFACE SIGNALS (27) ..................................................59
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
v
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9.9 9.10 9.11 10
GENERAL (5 SIGNALS) ..............................................................64 JTAG & SCAN INTERFACE (7 SIGNALS) ...................................66 POWER (120 SIGNALS)..............................................................67
FUNCTIONAL DESCRIPTION................................................................70 10.1 ANY-PHY/UTOPIA INTERFACES ................................................70 10.1.1 TRANSMIT ANY-PHY/UTOPIA SLAVE (TXAPS) ..............71 10.1.2 RECEIVE ANY-PHY/UTOPIA SLAVE (RXAPS) ................74 10.1.3 SUMMARY OF ANY-PHY/UTOPIA MODES......................78 10.1.4 ANY-PHY/UTOPIA LOOPBACK ........................................80 10.2 IMA SUB-LAYER..........................................................................80 10.2.1 OVERVIEW .......................................................................80 10.2.2 IDCC SCHEDULER ..........................................................81 10.2.3 TRANSMIT IMA PROCESSOR (TIMA) .............................82 10.2.4 RECEIVE IMA DATA PROCESSOR (RDAT) .....................86 10.2.5 RECEIVE IMA PROTOCOL PROCESSOR (RIPP) ...........99 10.2.6 SUPPORT OF IMA TEST PATTERN PROCEDURE ....... 110 10.2.7 SUPPORT OF SYMMETRIC/ASYMMETRIC OPERATION MODES ........................................................................... 110 10.2.8 SUPPORT OF DIFFERENT IMA VERSIONS.................. 110 10.2.9 SDRAM INTERFACE ...................................................... 111 10.3 10.4 LINK FIFOS ............................................................................... 114 TC LAYER.................................................................................. 114 10.4.1 TX TC LAYER (TTTC) ..................................................... 114
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
vi
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.4.2 RX TC LAYER (RTTC) .................................................... 115 10.5 LINE SIDE PHYSICAL LAYER................................................... 117 10.5.1 TX CLOCK/DATA (TCAS)................................................ 117 10.5.2 TX NULL FRAMER (SDFR84)......................................... 118 10.5.3 INSERT SCALEABLE BANDWIDTH INTERCONNECT (INSBI)............................................................................. 118 10.5.4 EXTRACT SCALEABLE BANDWIDTH INTERCONNECT (EXSBI) ........................................................................... 118 10.5.5 RX DEFRAMER (SDDF84) ............................................. 119 10.5.6 RX CLOCK/DATA (RCAS) ............................................... 119 10.6 MICROPROCESSOR INTERFACE ...........................................120 10.6.1 MAPPING AND LINK IDENTIFICATION .........................120 10.6.2 INTERRUPT DRIVEN ERROR/STATUS REPORTING...122 10.6.3 REGISTERS....................................................................123 11 NORMAL MODE REGISTER DESCRIPTION ......................................130 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 GLOBAL REGISTERS ...............................................................131 MASTER INTERRUPT REGISTERS .........................................136 UTOPIA INTERFACE REGISTERS ...........................................146 SDRAM REGISTERS ................................................................153 TC LAYER REGISTERS ............................................................163 SBI REGISTERS........................................................................174 LINE CLOCK/DATA INTERFACE ...............................................200 RIPP REGISTERS .....................................................................214
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
vii
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.9
RDAT REGISTERS ....................................................................289
11.10 TIMA REGISTERS .....................................................................322 11.11 TX IDCC REGISTERS ...............................................................338 11.12 RX IDCC REGISTERS...............................................................341 12 OPERATION .........................................................................................345 12.1 12.2 12.3 HARDWARE CONFIGURATION................................................345 START-UP..................................................................................345 CONFIGURING THE S/UNI-IMA-84 ..........................................346 12.3.1 CONFIGURING SBI INTERFACE ...................................346 12.3.2 CONFIGURING CLOCK/DATA INTERFACE...................348 12.3.3 CONFIGURING TC LAYER OPTIONS............................350 12.3.4 UTOPIA INTERFACE CONFIGURATION .......................351 12.4 IMA_LAYER CONFIGURATION ................................................352 12.4.1 INDIRECT ACCESS TO INTERNAL MEMORY TABLES 352 12.4.2 CONFIGURING LINKS FOR TRANSMISSION CONVERGENCE OPERATIONS ....................................353 12.4.3 CONFIGURING FOR IMA OPERATIONS .......................355 12.5 IMA OPERATIONS.....................................................................359 12.5.1 ISSUING A RIPP COMMAND .........................................359 12.5.2 SUMMARY OF RIPP COMMANDS.................................360 12.5.3 ADDING A GROUP .........................................................365 12.5.4 DELETING A GROUP .....................................................366 12.5.5 RESTART GROUP..........................................................366
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
viii
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
12.5.6 INHIBIT GROUP/NOT INHIBIT GROUP .........................367 12.5.7 ADDING A LINK OR LINKS TO AN EXISTING GROUP (START LASR) ................................................................367 12.5.8 REPORTING LINK DEFECTS IN THE ICP CELL ...........368 12.5.9 FAULTING/INHIBITING LINKS.......................................368 12.5.10 CHANGE TRL ............................................................368
12.5.11 DELETING A LINK FROM A GROUP .........................369 12.5.12 12.5.13 12.5.14 12.6 TEST PATTERN PROCEDURES ...............................369 IMA EVENTS ..............................................................369 END-TO-END CHANNEL COMMUNICATION ...........370
DIAGNOSTIC FEATURES .........................................................370 12.6.1 ICP CELL TRACE............................................................370 12.6.2 SDRAM DIAGNOSTIC ACCESS.....................................371
12.7 13
IMA PERFORMANCE PARAMETERS AND FAILURE ALARMS SUPPORT..................................................................................372
FUNCTIONAL TIMING..........................................................................376 13.1 13.2 13.3 13.4 13.5 SBI DROP BUS INTERFACE TIMING .......................................376 SBI ADD BUS INTERFACE TIMING ..........................................377 RECEIVE LINK INPUT TIMING .................................................378 TRANSMIT LINK OUTPUT TIMING...........................................379 ANY-PHY/UTOPIA L2 INTERFACES .........................................382 13.5.1 UTOPIA L2 TRANSMIT SLAVE INTERFACE..................382 13.5.2 ANY-PHY TRANSMIT SLAVE INTERFACE ....................383
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
ix
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
13.5.3 UTOPIA L2 MULTI-PHY RECEIVE SLAVE INTERFACE 384 13.5.4 UTOPIA L2 SINGLE-PHY RECEIVE SLAVE INTERFACE 385 13.5.5 ANY-PHY RECEIVE SLAVE INTERFACE.......................386 13.6 14 15 16 SDRAM INTERFACE .................................................................386
ABSOLUTE MAXIMUM RATINGS........................................................391 D. C. CHARACTERISTICS...................................................................392 A.C. TIMING CHARACTERISTICS.......................................................395 16.1 16.2 16.3 16.4 MICROPROCESSOR INTERFACE TIMING CHARACTERISTICS ...................................................................................................395 SYNCHRONOUS I/O TIMING....................................................399 SBI TIMING................................................................................403 JTAG TIMING.............................................................................406
17 18
ORDERING AND THERMAL INFORMATION ......................................408 MECHANICAL INFORMATION.............................................................409
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
x
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
LIST OF FIGURES FIGURE 1 - ATM EDGE SWITCH IMA AND UNI PORT CARD EXAMPLE......32 FIGURE 2 - ATM MULTISERVICE SWITCH, ANY SERVICE ANY PORT CARD EXAMPLE 33 FIGURE 3 - S/UNI-IMA-84 BLOCK DIAGRAM ................................................34 FIGURE 4 - S/UNI-IMA PINOUT (BOTTOM VIEW) .........................................39 FIGURE 5 - 16-BIT TRANSMIT CELL TRANSFER FORMAT ..........................73 FIGURE 6 - 8-BIT TRANSMIT CELL TRANSFER FORMAT ............................73 FIGURE 7 - 16-BIT RECEIVE CELL TRANSFER FORMAT ............................77 FIGURE 8 - 8-BIT RECEIVE CELL TRANSFER FORMAT ..............................77 FIGURE 9 - INVERSE MULTIPLEXING...........................................................81 FIGURE 10 - MAX DIFFERENTIAL DELAY TOLERANCE VS. SDRAM SIZE...87 FIGURE 11 - IFSM STATE MACHINE ...............................................................88 FIGURE 12 - STUFF EVENT WITH ERRORED ICP (ADVANCED INDICATION) 90 FIGURE 13 - INVALID STUFF SEQUENCE (ADVANCED INDICATION) ..........90 FIGURE 14 - ERRORED/INVALID ICP CELLS IN PROXIMITY TO A STUFF EVENT 91 FIGURE 15 - SNAPSHOT OF DCB BUFFERS..................................................92 FIGURE 16 - SNAPSHOT OF DCB BUFFERS AFTER ADDITION OF LINK WITH SMALLER TRANSPORT DELAY ......................................................................93 FIGURE 17 - SNAPSHOT OF DCB BUFFERS WHEN TRYING TO ADD LINK WITH LARGER TRANSPORT DELAY ..............................................................94 FIGURE 18 - SNAPSHOT OF DCB BUFFERS AFTER DELAY ADJUSTMENT 95
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xi
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
FIGURE 19 - SNAPSHOT OF DCB BUFFERS AFTER DELETION OF LINKS FROM GROUP 96 FIGURE 20 - IMA ERROR/MAINTENANCE STATE DIAGRAM.........................97 FIGURE 21 - CELL STORAGE MAP................................................................ 111 FIGURE 22 - 2 MBYTE .................................................................................... 112 FIGURE 23 - 8 MBYTE .................................................................................... 113 FIGURE 24 - CELL DELINEATION STATE DIAGRAM .................................... 116 FIGURE 25 -BURST RAM FORMAT................................................................158 FIGURE 26 - SBI DROP BUS T1/E1 FUNCTIONAL TIMING...........................376 FIGURE 27 - SBI DROP BUS DS3 FUNCTIONAL TIMING .............................376 FIGURE 28 - SBI ADD BUS ADJUSTMENT REQUEST FUNCTIONAL TIMING 377 FIGURE 29 - UNCHANNELIZED RECEIVE LINK TIMING ..............................378 FIGURE 30 - CHANNELIZED T1 RECEIVE LINK TIMING ..............................379 FIGURE 31 - CHANNELIZED E1 RECEIVE LINK TIMING..............................379 FIGURE 32 - UNCHANNELIZED TRANSMIT LINK TIMING............................380 FIGURE 33 - CHANNELIZED T1 TRANSMIT LINK TIMING W/ CLOCK GAPPED LOW 380 FIGURE 34 - CHANNELIZED T1 TRANSMIT LINK TIMING W/ CLOCK GAPPED HIGH 381 FIGURE 35 - CHANNELIZED E1 TRANSMIT LINK TIMING W/ CLOCK GAPPED LOW 381 FIGURE 36 - CHANNELIZED E1 TRANSMIT LINK TIMING W/ CLOCK GAPPED HIGH 381 FIGURE 37 - UTOPIA L2 TRANSMIT SLAVE ..................................................383
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xii
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
FIGURE 38 - ANY-PHY TRANSMIT SLAVE.....................................................384 FIGURE 39 - UTOPIA L2 MULTI-PHY RECEIVE SLAVE.................................385 FIGURE 40 - UTOPIA L2 SINGLE-PHY RECEIVE SLAVE ..............................385 FIGURE 41 - ANY-PHY RECEIVE SLAVE .......................................................386 FIGURE 42 - SDRAM READ TIMING ..............................................................387 FIGURE 43 - SDRAM WRITE TIMING.............................................................388 FIGURE 44 - SDRAM REFRESH ....................................................................389 FIGURE 45 - POWER UP AND INITIALIZATION SEQUENCE........................390 FIGURE 46 - MICROPROCESSOR INTERFACE READ TIMING ...................396 FIGURE 47 - MICROPROCESSOR INTERFACE WRITE TIMING..................398 FIGURE 48 - RSTB TIMING ............................................................................399 FIGURE 49 - SYNCHRONOUS I/O TIMING ....................................................399 FIGURE 50 - SBI FRAME PULSE TIMING ......................................................403 FIGURE 51 - SBI DROP BUS TIMING.............................................................404 FIGURE 52 - SBI ADD BUS TIMING................................................................405 FIGURE 53 - SBI ADD BUS COLLISION AVOIDANCE TIMING ......................405 FIGURE 54 - JTAG PORT INTERFACE TIMING .............................................407 FIGURE 55 - 416 PIN PBGA -27X27 MM BODY - (P SUFFIX) ......................409
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xiii
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
LIST OF TABLES TABLE 1 TABLE 2 TABLE 3 TABLE 4 TABLE 5 TABLE 6 TABLE 7 TABLE 8 TABLE 9 TERMINOLOGY .............................................................................22 UTOPIA L2 AND ANY-PHY COMPARISON ....................................75 PM COMMAND DESCRIPTION ...................................................100 REGISTER MEMORY MAP..........................................................124 CONFIGURATION MEMORY ADDRESS SPACE ........................215 CONTEXT MEMORY ADDRESS SPACE.....................................216 RIPP GROUP CONFIGURATION RECORD STRUCTURE .........218 RX PHYSICAL LINK TABLE .........................................................226 RIPP TX LINK CONFIGURATION RECORD STRUCTURE.........227
TABLE 10 RIPP RX LINK CONFIGURATION RECORD STRUCTURE ........229 TABLE 11 RIPP GROUP CONTEXT RECORD STRUCTURE......................231 TABLE 12 RIPP TX LINK CONTEXT RECORD STRUCTURE .....................246 TABLE 13 RIPP RX LINK CONTEXT RECORD STRUCTURE .....................250 TABLE 14 COMMAND REGISTER ENCODING ...........................................268 TABLE 15 COMMAND DATA REGISTER ARRAY FORMAT .........................279 TABLE 16 GROUP ERROR/STATUS BIT MAPPING ....................................281 TABLE 17 LINK EVENT INTERRUPT BIT MAPPING....................................283 TABLE 18 LINK STATUS BIT MAPPING .......................................................285 TABLE 19 RECEIVE ICP CELL BUFFER STRUCTURE ...............................287 TABLE 20 RDAT LINK STATISTICS RECORD (IMA) ....................................294 TABLE 21 RDAT LINK STATISTICS RECORD (TC)......................................295
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xiv
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
TABLE 22 RDAT IMA GROUP STATISTICS RECORD .................................296 TABLE 23 RDAT TC LINK STATISTICS RECORD ........................................297 TABLE 24 RDAT VALIDATION RECORD ......................................................298 TABLE 25 RDAT LINK CONTEXT RECORD.................................................301 TABLE 26 RDAT LINK MESSAGE STATUS RECORD..................................306 TABLE 27 RECEIVE ICP CELL BUFFER STRUCTURE ...............................307 TABLE 28 RDAT IMA GROUP CONTEXT RECORD.....................................309 TABLE 29 RDAT TC LINK CONTEXT RECORD ........................................... 311 TABLE 30 RECEIVE ATM CONGESTION COUNT REGISTER ....................312 TABLE 31 TRANSMIT IMA GROUP CONTEXT RECORD............................327 TABLE 32 TRANSMIT IMA GROUP CONFIGURATION TABLE RECORD .....330 TABLE 33 TRANSMIT LID TO PHYSICAL LINK MAPPING TABLE ..............332 TABLE 34 TIMA PHYSICAL LINK CONTEXT RECORD ...............................333 TABLE 35 REFCLK/SYSCLK FREQUENCY REQUIREMENT......................350 TABLE 36 IMA PERFORMANCE PARAMETER SUPPORT..........................372 TABLE 37 IMA FAILURE ALARM SUPPORT ................................................373 TABLE 38 ABSOLUTE MAXIMUM RATINGS................................................391 TABLE 39 D.C. CHARACTERISTICS............................................................392 TABLE 40 MICROPROCESSOR INTERFACE READ ACCESS ...................395 TABLE 41 MICROPROCESSOR INTERFACE WRITE ACCESS ..................397 TABLE 42 RTSB TIMING...............................................................................398 TABLE 43 SYSCLK AND REFCLK TIMING...................................................399
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xv
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
TABLE 44 CELL BUFFER SDRAM INTERFACE...........................................400 TABLE 45 ANY-PHY/UTOPIA TRANSMIT INTERFACE ................................400 TABLE 46 ANY-PHY/UTOPIA RECEIVE INTERFACE ..................................401 TABLE 47 SERIAL LINK INPUT ....................................................................401 TABLE 48 SERIAL LINK OUTPUT ................................................................402 TABLE 49 SBI FRAME PULSE TIMING ........................................................403 TABLE 50 SBI DROP BUS TIMING...............................................................403 TABLE 51 SBI ADD BUS ...............................................................................404 TABLE 52 JTAG PORT INTERFACE .............................................................406 TABLE 53 ORDERING AND THERMAL INFORMATION ..............................408 TABLE 54 THERMAL INFORMATION - THETA JA VS. AIRFLOW................408
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xvi
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
LIST OF REGISTERS REGISTER 0X000: GLOBAL RESET..............................................................131 REGISTER 0X002: GLOBAL CONFIGURATION ............................................132 REGISTER 0X004: JTAG ID (MSB) ................................................................134 REGISTER 0X006: JTAG ID (LSB) .................................................................135 REGISTER 0X008: MASTER INTERRUPT REGISTER .................................136 REGISTER 0X00A: MISCELLANEOUS INTERRUPT REGISTER .................139 REGISTER 0X00C: RECEIVE TC INTERRUPT FIFO ....................................141 REGISTER 0X010: MASTER INTERRUPT ENABLE REGISTER ..................143 REGISTER 0X012: MISCELLANEOUS INTERRUPT ENABLE REGISTER...144 REGISTER 0X014: TC INTERRUPT ENABLE REGISTER ............................145 REGISTER 0X020: TRANSMIT ANY-PHY/UTOPIA CELL AVAILABLE ENABLE 146 REGISTER 0X022: RECEIVE UTOPIA CELL AVAILABLE ENABLE...............147 REGISTER 0X024: RECEIVE ANY-PHY/UTOPIA CONFIG REG (RXAPS_CFG) 148 REGISTER 0X026: TRANSMIT ANY-PHY/UTOPIA CONFIG REG (TXAPS_CFG)150 REGISTER 0X028: TRANSMIT ANY-PHY ADDRESS CONFIG REGISTER (TXAPS_ADD_CFG) .......................................................................................152 REGISTER 0X040: SDRAM CONFIGURATION .............................................153 REGISTER 0X042 SDRAM DIAGNOSTICS ...................................................154 REGISTER 0X044: SDRAM DIAG BURST RAM INDIRECT ACCESS ...........155 REGISTER 0X046: SDRAM DIAG INDIRECT BURST RAM DATA LSB .........156
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xvii
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
REGISTER 0X048: SDRAM DIAG INDIRECT BURST RAM DATA MSB ........157 REGISTER 0X04A: SDRAM DIAG WRITE CMD 1 .........................................159 REGISTER 0X04C: SDRAM DIAG WRITE CMD 2 .........................................160 REGISTER 0X04E: SDRAM DIAG READ CMD 1...........................................161 REGISTER 0X050: SDRAM DIAG READ CMD 2 ...........................................162 REGISTER 0X060: TTTC INDIRECT LINK CONTROL REGISTER ...............163 REGISTER 0X062: TTTC INDIRECT LINK CONFIGURATION REGISTER ...165 REGISTER 0X070: RTTC INDIRECT LINK CONTROL REGISTER ...............166 REGISTER 0X072: RTTC INDIRECT LINK CONFIGURATION REGISTER...168 REGISTER 0X074: RTTC INDIRECT LINK INTERRUPT AND STATUS REGISTER 170 REGISTER 0X076: RTTC INDIRECT LINK HCS ERROR COUNT REGISTER 172 REGISTER 0X078: LCD COUNT THRESHOLD .............................................173 REGISTER 0X080: SBI BUS CONFIGURATION REGISTER (SBI_BUS_CFG_REG)....................................................................................174 REGISTER 0X084-0X08E: SBI EXTRACT ALARM INTERRUPT REGISTER 176 REGISTER 0X090-0X09A: SBI EXTRACT ALARM STATUS REGISTER.......177 REGISTER 0X0A0: SBI EXTRACT CONTROL REGISTER............................178 REGISTER 0X0A2: SBI EXTRACT FIFO UNDERRUN INTERRUPT REGISTER 180 REGISTER 0X0A4: SBI EXTRACT FIFO OVERRUN INTERRUPT REGISTER 181 REGISTER 0X0A6: SBI EXTRACT TRIBUTARY CONTROL RAM INDIRECT ACCESS ADDRESS REGISTER ....................................................................182
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xviii
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
REGISTER 0X0A8: SBI EXTRACT TRIBUTARY CONTROL RAM INDIRECT ACCESS CONTROL REGISTER ....................................................................183 REGISTER 0X0AC: SBI EXTRACT TRIBUTARY CONTROL RAM INDIRECT ACCESS DATA REGISTER.............................................................................184 REGISTER 0X0AE: SBI EXTRACT PARITY ERROR INTERRUPT REGISTER 185 REGISTER 0X0BC: SBI EXTRACT DEPTH CHECK INTERRUPT REGISTER 186 REGISTER 0X0BE: SBI EXTRACT MASTER INTERRUPT REGISTER ........187 REGISTER 0X0C0: SBI INSERT CONTROL REGISTER ...............................189 REGISTER 0X0C2: SBI INSERT FIFO UNDERRUN INTERRUPT REGISTER 191 REGISTER 0X0C4: SBI INSERT FIFO OVERRUN INTERRUPT REGISTER 192 REGISTER 0X0C6: SBI INSERT TRIBUTARY CONTROL RAM INDIRECT ACCESS ADDRESS REGISTER ....................................................................193 REGISTER 0X0C8: SBI INSERT TRIBUTARY CONTROL RAM INDIRECT ACCESS CONTROL REGISTER ....................................................................194 REGISTER 0X0CC: SBI INSERT TRIBUTARY CONTROL RAM INDIRECT ACCESS DATA REGISTER.............................................................................195 REGISTER 0X0E2: SBI INSERT DEPTH CHECK INTERRUPT REGISTER .197 REGISTER 0X0E4: SBI INSERT MASTER INTERRUPT REGISTER ............198 REGISTER 0X100: RCAS INDIRECT LINK AND TIME-SLOT CONTROL REGISTER 200 REGISTER 0X102: RCAS INDIRECT LINK DATA REGISTER .......................202 REGISTER 0X104: RCAS FRAMING BIT THRESHOLD ................................204 REGISTER 0X106: RCAS LINK DISABLE ......................................................205 REGISTER 0X140- 0X17E: RCAS LINK #0 TO LINK #31 CONFIGURATION 206
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xix
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
REGISTER 0X180: TCAS INDIRECT LINK AND TIME-SLOT CONTROL REGISTER 207 REGISTER 0X182: TCAS INDIRECT LINK DATA REGISTER........................209 REGISTER 0X184: TCAS FRAMING BIT THRESHOLD ................................210 REGISTER 0X186: TCAS IDLE TIME-SLOT FILL DATA................................. 211 REGISTER 0X188: TCAS LINK DISABLE REGISTER ...................................212 REGISTER 0X1C0 - 0X1FE: TCAS LINK #0 TO LINK #31 CONFIGURATION 213 REGISTER 0X200:RIPP CONTROL ...............................................................214 REGISTER 0X202:RIPP INDIRECT MEMORY ACCESS CONTROL.............215 REGISTER 0X204 - 0X206:RIPP INDIRECT MEMORY DATA REGISTER ARRAY 217 REGISTER 0X20C: RIPP TIMER TICK CONFIGURATION REGISTER .........258 REGISTER 0X20E: GROUP TIMEOUT REGISTER #1 ..................................259 REGISTER 0X210: GROUP TIMEOUT REGISTER #2...................................260 REGISTER 0X212: TX LINK TIMEOUT REGISTER .......................................261 REGISTER 0X214: RX LINK TIMEOUT REGISTER.......................................262 REGISTER 0X216: RIPP INTERRUPT FIFO ..................................................263 REGISTER 0X218:RIPP GROUP INTERRUPT ENABLE REGISTER............264 REGISTER 0X21A:RIPP TX LINK INTERRUPT ENABLE REGISTER ...........265 REGISTER 0X21C:RIPP RX LINK INTERRUPT ENABLE REGISTER ..........266 REGISTER 0X220-22C: RIPP COMMAND REGISTER..................................267 REGISTER 0X22E: COMMAND READ DATA CONTROL REGISTER ...........273 REGISTER 0X230: ICP CELL FORWARDING STATUS REGISTER..............274
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xx
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
REGISTER 0X232: ICP CELL FORWARDING CONTROL REGISTER ..........275 REGISTER 0X240- 0X2BE:RIPP COMMAND DATA REGISTER ARRAY.......276 REGISTER 0X2C0- 0X2FE: FORWARDING ICP CELL BUFFER...................286 REGISTER 0X300: RDAT INDIRECT MEMORY COMMAND.........................289 REGISTER 0X302: RDAT INDIRECT MEMORY ADDRESS...........................291 REGISTER 0X304: RDAT INDIRECT MEMORY DATA LSB ...........................292 REGISTER 0X306: RDAT INDIRECT MEMORY DATA MSB ..........................293 REGISTER 0X308: RDAT CONFIGURATION.................................................313 REGISTER 0X30A: RECEIVE ATM CONGESTION INTERRUPT LSB...........315 REGISTER 0X30C: RECEIVE ATM CONGESTION INTERRUPT MSB .........316 REGISTER 0X30E: RECEIVE TC LINK FIFO OVERRUN INTERRUPT REGISTER 317 REGISTER 0X310: RDAT MASTER INTERRUPT REGISTER .......................318 REGISTER 0X312: RECEIVE ATM CONGESTION INTERRUPT ENABLE LSB 319 REGISTER 0X314: RECEIVE ATM CONGESTION INTERRUPT ENABLE MSB 320 REGISTER 0X316: RDAT MASTER INTERRUPT ENABLE ...........................321 REGISTER 0X320: TIMA INDIRECT MEMORY COMMAND ..........................322 REGISTER 0X322: TIMA INDIRECT MEMORY ADDRESS............................324 REGISTER 0X324: TIMA INDIRECT MEMORY DATA LSB ............................325 REGISTER 0X326: TIMA INDIRECT MEMORY DATA MSB ...........................326 REGISTER 0X328-0X332 TRANSMIT LINK FIFO OVERRUN INTERRUPT REGISTER 336
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xxi
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
REGISTER 0X336 INTERRUPT ENABLE ......................................................337 REGISTER 0X340: TXIDCC INDIRECT LINK CONTROL REGISTER ...........338 REGISTER 0X342: TXIDCC INDIRECT LINK DATA REGISTER....................340 REGISTER 0X350: RXIDCC INDIRECT LINK CONTROL REGISTER...........341 REGISTER 0X352: RXIDCC INDIRECT LINK DATA REGISTER ...................343 REGISTER 0X366: DLL STATUS REGISTER.................................................344
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xxii
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
1
DEFINITIONS Table 1 Term Any-PHY ATM CDV CTC DLL ECBI EXSBI FIFO Framed HEC HCS ICP IDCC IDCR IFSN IMA INSBI ITC LCD LID LSI MIB Terminology Definition Interoperable version of UTOPIA and UTOPIA L2, with inband addressing. Asynchronous Transfer Mode Cell Delay Variation Common Transmit Clock Delay Locked Loop Enhanced Common Bus Interface (asynchronous register bus and interface) Extract Scalable Bandwidth Interconnect First-In-First-Out Framing information available - may be channelized or unchannelized. Header Error Check Header Check Sequence IMA Control Protocol Cell IMA Data Cell Clock IMA Data Cell Rate IMA Frame Sequence Number Inverse Multiplexing for ATM Insert Scalable Bandwidth Interconnect Independent Transmit Clock Loss of Cell Delineation Link ID Link Stuff Indication Management Information Base
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
23
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
MCFD OAM OCD PISO PM RCAS RDAT RIPP RMTS SBI SIPO SPE TC TCAS TDM TRL TRLCR TSB TC TIMA Unframed UTOPIA
Multi-Channel Cell Based FIFO Operation, Administration and Maintenance Out of Cell Delineation Parallel in Serial Out Plane Management (Microprocessor) Receive Channel Assigner RX IMA Data Processor RX IMA Protocol Processor RX Master TX Slave Scalable Bandwidth Interconnect Serial in Parallel Out Synchronous Payload Envelope Transmission Convergence Transmit Channel Assigner Time Division Multiplexing Timing Reference Link TRL Cell Rate Telecom Systems Block Transmission Convergence TX IMA Processor No framing information available Universal Test & Operations PHY Interface for ATM
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
24
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
2
FEATURES The PM7341 S/UNI-IMA-84 is a monolithic integrated circuit that implements the ATM Forum Inverse Multiplexing for ATM (IMA 1.1) protocol with backward compatibility to IMA 1.0 and the Transmission Convergence (TC) layer function. The S/UNI-IMA-84 has two line side interface modes that determine the total number of physical links supported: the Scalable Bandwidth Interconnect (SBI) bus interface mode and the Clock and Data interface mode. In SBI mode, the S/UNI-IMA-84 supports up to 84 T1, 63 E1 or 3 DS3 (TC only) physical links where each link is dynamically configurable to support either IMA 1.1, backward compatible IMA 1.0, ATM over T1/E1 or up to three ATM over DS3 streams (using HEC delineation). In Clock and Data mode, the S/UNI-IMA-84 supports 32 independent T1, E1 or unchannelized physical links. Each link is dynamically configurable to support either IMA 1.1, backward compatible IMA 1.0, or ATM HEC cell delineation. ATM over fractional T1/E1 is also supported. Unchannelized links may be used to support applications such as G.SHDSL. Standards Supported * * ATM Forum Inverse Multiplexing for ATM Specification Version 1.1, March 1999 ATM Forum Inverse Multiplexing for ATM Specification Version 1.0 - supports the method of reporting Rx cell information as in Appendix C.8 of the ATM Forum Inverse Multiplexing for ATM Specification Version 1.1 for symmetrical configurations with M=128. I.432-1 B-ISDN user network interface - Physical Layer specification: General characteristics I.432-3 B-ISDN user network interface - Physical Layer specification: 1544 kbps and 2048 kbps operation DS3 Physical Layer Interface Specification, af-phy-0054.000 January, 1996 ATM on Fractional E1/T1, af-phy-0130.00 October, 1999.
* * * *
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
25
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
IMA Features * * IMA 1.1 protocol including group and link state machines implemented by onchip hardware. All ICP cell processing is performed internally by the S/UNI-IMA device with no requirement for microprocessor intervention; however, ICP cells are made available for diagnostic purposes. Supports up to 42 simultaneous IMA groups. Each IMA group can support 1 to 32 links chosen from any of the supported links. Each link can be programmed for either IMA processing or cell delineation. Supports all IMA Group Symmetry modes: * * * * * * * * * * Symmetrical configuration with symmetrical operation Symmetrical configuration with asymmetrical operation. Asymmetrical configuration with asymmetrical operation.
* * * *
Performs IMA differential delay calculation and synchronization. Provides programmable limit on allowable differential delay and minimum number of links per group. Supports up to 279 ms (for T1 links) and 226 ms (for E1 links) link-differential delay among links in an IMA group. Performs ICP and stuff-cell insertion and removal. Supports both Common Transmit Clock (CTC) and Independent Transmit Clock (ITC) transmit ICP stuffing modes. Supports IMA frame lengths (M) equal to 32, 64, 128, or 256. Optionally supports the IMA 1.0 method of reporting Rx cell information as defined in appendix C.8 of the ATM Forum Inverse Multiplexing for ATM Specification Version 1.1 for symmetrical configurations with M=128.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
26
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
* *
Provides IMA layer statistic counts and alarms for support of IMA Performance and Failure Alarm Monitoring and MIB support. Provides per link counters for statistics and performance monitoring: * * * * * * ICP Violations OIF anomalies Rx Link stuff events Tx Link stuff events User cells Filler cells
*
Provides per group counters for statistics and performance monitoring: * * * * User cells received Filler cells received User cells transmitted Filler cells transmitted
TC Features * * * * Performs cell delineation on all links. Performs receive cell Header Error Check (HEC) checking and transmit cell HEC generation. Optionally supports receive cell payload unscrambling and transmit cell payload scrambling. Provides TC layer statistics counts and alarms for MIB support.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
27
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Interface Support * Two line side interface modes: Scalable Bandwidth Interconnect (SBI) bus and Clock and Data.
SBI Interface: * Supports a byte serial 19.44 MHz Scalable Bandwidth Interconnect (SBI) bus interface for high-density line-side device interconnection of up to 84 T1, 63 E1, or three DS3 streams. The SBI interface bus uses three Synchronous Payload Envelopes (SPE) where each SPE can carry up to 28 framed T1, 21 framed E1, or one framed DS3 stream. For SPEs configured to support DS3, TC layer processing is supported only. IMA is not supported over DS3. Always acts as a clock slave receiving clock rate information from the SBI based framer. Supports Common Transmit Clock (CTC) and Independent Transmit Clock (ITC) modes across the SBI bus. Seamlessly interconnects to PMC-Sierra's PM8315 TEMUX and PM8316 TEMUX-84 highly integrated T1/ E1 framers, M13 MUXs and SONET/SDH VT/TU mapper devices
*
* * * *
Clock/Data Interface: * Supports 32 individual serial (T1 or E1 or unchannelized rates up to 2.304 Mbps) links or 8 individual serial 8Mbps unchannelized links via a 2-pin clock and data interface. Supports ATM over fractional T1/E1 by providing the capability to select any DS0 timeslots that are active in a link. Serial link interface supports both independent transmit clock (ITC) and common transmit clock (CTC) options.
* *
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
28
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
*
Interfaces to a 1M x 16 ( for at least 69 msec of T1, 56 msec of E1 differential delay tolerance)or 4M x 16 SDRAM ( for 279 msec of T1, 226 msec of E1 differential delay tolerance) through a 16-bit SDRAM interface. Provides a 16-bit microprocessor bus interface for configuration and Link and Unit Management. ATM receive interface supports 8- and 16-bit UTOPIA L2 or Any-PHY cell interfaces at clock rates up to 52 MHz. * * * Any-PHY receive slave appears as single device. The PHY-ID of each cell is identified in the in-band address. UTOPIA L2 receive slave appears as a 31 port multi-PHY. UTOPIA L2 receive slave can also appear as a single port with the logical port provided as a prepend or in the HEC/UDF field.
* *
*
ATM transmit interface supports 8- and 16-bit UTOPIA L2 and Any-PHY cell interfaces at clock rates up to 52 MHz. * * * Each link configured for cell delineation or each IMA group appears as a PHY port on the Any-PHY and UTOPIA L2 bus. Any-PHY transmit slave appears as an 84-port multi-PHY. The PHY-ID of each cell is identified in the in-band address. UTOPIA L2 transmit slave appears as a 31-port multi-PHY.
*
Seamlessly interconnects to PMC-Sierra's PM7326 S/UNI-APEX ATM/Packet Traffic Manager and Switch and PM7324 S/UNI-ATLAS ATM layer devices.
Loopback and Diagnostic Features * * * Supports UTOPIA L2 / Any-PHY Loopback (global loopback- where all cells received on the UTOPIA L2 / Any-PHY interface are looped back out) Supports Line Side Loopback (global loopback- where all data received on the line side is looped back out) Supports the capability to trace ICP cells for any group
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
29
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Software * The S/UNI-IMA device driver, written in ANSI C, provides a well-defined Application Programming Interface (API) for use by application software. Low level utility functions are also provided for diagnostics and debugging purposes. Software wrappers are used for RTOS-related functions making the S/UNI-IMA device driver portable to any Real Time Operating System (RTOS) and hardware environment. The S/UNI-IMA device driver is compatible across the S/UNI-IMA family of devices.
Packaging * * * Implemented in low power, 0.18 micron, 1.8V CMOS technology with TTL compatible inputs and outputs. Provides a standard 5-pin P1149 JTAG port. 416 ball PBGA, 27mm x 27mm
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
30
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
3
APPLICATIONS The S/UNI-IMA-84 is ideal for the following applications: * * ATM Multiservice Switches - IMA/UNI and Any Service Any Port linecards Wireless Base Station Controllers
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
31
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
4
REFERENCES * * * * * * * AF-PHY-0086.001 "Inverse Multiplexing for ATM (IMA) Specification Version 1.1", March 1999 I.432-1 B-ISDN User Network Interface - Physical Layer specification: General characteristics I.432-3 B-ISDN User Network Interface - Physical Layer specification: 1544 kbps and 2048 kbps operation G.804 "ATM Cell Mapping into Plesiochronous Digital Hierarchy (PDH)" AF-PHY-0016.000 "ATM Forum DS1 Physical Layer Specification" AF-PHY-0064.000 "ATM Forum E1 Physical Interface" ATM Forum, UTOPIA, an ATM-PHY Layer Specification, Level 2, V. 1.0, Foster City, CA USA, June 1995.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
32
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
5 5.1
APPLICATION EXAMPLES ATM Multiservice Switch IMA / UNI Port Card An optimized solution comprising the S/UNI-IMA-84, PM8316 TEMUX-84, PM5342 SPECTRA-155, PM7326 S/UNI-APEX, PM7324 S/UNI-ATLAS devices enables a new generation of high density port cards for terminating n x DS3, n x OC-3's worth of IMA and/or ATM UNI circuits. See Figure 1. Figure 1 - ATM Edge Switch IMA and UNI Port Card Example
Telecom Bus SBI UTOPIA L2 / Any-PHY
PM5342 SPECTRA-155 PM8316 TEMUX-84 PM7341 S/UNI-IMA-84
PM7326 S/UNI-APEX
OR
PM5342 PM5342 SPECTRA-155 SPECTRA-155 DS3 LIUs
PM7324 S/UNI-ATLAS
With a PM5313 SPECTRA-622, four TEMUX-84s, four S/UNI-IMA-84s, PM7326 S/UNI-APEX, and PM7324 S/UNI-ATLAS devices, an OC-12's worth of IMA/UNI circuits can be terminated on a single linecard. 5.2 ATM Multiservice Switch, Any Service Any Port Card With the S/UNI-IMA-84 and its support for the SBITM bus, high density Any Service Any Port linecards for ATM Switches can be designed with PMC-Sierra's SPECTRATM, TEMUXTM, AAL1gatorTM, S/UNI-IMA, FREEDMTM, S/UNIAPEXTM and S/UNI-ATLASTM products for supporting a broad spectrum of existing and emerging services including Frame Relay (FR), multi-link Frame Relay, multi-link PPP, Internet Protocol (IP), Dedicated Private Line, Integrated Voice and Data, Voice-over- IP and Voice-over-ATM as shown in Figure 2.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
33
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 2
- ATM Multiservice Switch, Any Service Any Port Card Example
Telecom T1/J1/E1 Framer TU/VT Mapper M13 Mux PM8316 TEMUX-84 SBI Packet Processor PM7389 FREEDM-84 IMA / UNI PM7341 S/UNI-IMA-84 IMA / UNI PM7326 S/UNI-APEX AAL1 Circuit Emulation Service PM8316 TEMUX-84 PM73122 AAL1gator-32 Circuit Emulation Service PM7324 S/UNI-ATLAS Any-PHY Packet/Cell Internetworking Function APPI UTOPIA L2 / Any-PHY UTOPIA
ML-PPP and ML-Frame Relay Traffic Manager
STS-12 SONET/SDH Framer
PM8316 TEMUX-84
OC-12
PM5313 SPECTRA622
PM8316 TEMUX-84
H-MVIP
Voice Processor VoATM Voice Processing
OAM and Policing
DSP
RM7000 MIPS Processor
The S/UNI-IMA-84 implements the IMA 1.1 protocol (with backward compatibility to IMA 1.0) including link and group state machines, HEC cell delineation (UNI), cell scheduling and provides internal cell FIFOs. The S/UNI-IMA-84 interfaces seamlessly over a standard UTOPIA Level 2 or Any-PHY bus to an ATM Traffic Management device such as the PM7326 S/UNI-APEX. Depending on the S/UNI-IMA-84's register configuration, ATM traffic is sent over the network as part of an IMA 1.1 or IMA 1.0 group or over a standard ATM over T1/E1 or DS3 UNI. Through register programming, for example, the number of links, groups, minimum and maximum number of links/group, frame sizes (M=32, 64, 128, 256), differential delay tolerance, transmit clock mode (independent and common) and symmetrical/asymmetrical configuration and operation are dynamically configurable. An external low-cost standard 4Mx16 SDRAM is required to buffer data for tolerating up to a maximum of 279 msec (T1) / 226 msec (E1) of differential delay across the links.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
34
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
6
BLOCK DIAGRAM Figure 3 - S/UNI-IMA-84 Block Diagram
REFCLK
SYSCLK
SBI Add Bus I/F
AC1FP ADATA[7:0] ADP APL AV5 AJUST_REQ AACTIVE ADETECT
32 Clk/Data
RSTB
OE
D[15:0] A[10:1] ALE WRB RDB CSB INTB
DLL INSBI Null Framer (SDFR84) 84-chan x 7 cell FIFO (MCFD)
Microprocessor I/F
TCK TMS TDI TRSTB TDO
JTAG
TC Layer (TTTC84) TCAS
Tx IMA Processor (TIMA)
84-chan x 3 cell FIFO
Any-PHY/ UTOPIA Tx Slave (TXAPS)
TSCLK[31:0] TSDATA[31:0] CTSCLK
TCLK TPA TENB TADR[10:0] TCSB TSOP TSX TDAT[15:0] TPRTY
Tx Slave ATM I/F
IDCC
LINE_LOOP
VL.DLB.EN
Internal Bus
IDCC 32 Clk/Data
RSCLK[31:0] RSDATA[31:0]
SBI Drop Bus I/F
Rx IMA Protocol Processor (RIPP) 31 chan 4 cell FIFO
U2U_LOOP
Rx Slave ATM I/F
RCAS Tc Layer (RTTC84) EXSBI
DeFramer (SDDF84)
DC1FP DDATA[7:0] DDP DPL DV5
84-chan x 2 cell FIFO
Rx IMA Data Processor (RDAT) Cell Writer Cell Reader
Any-PHY/ UTOPIA Rx Slave (RXAPS)
RCLK RPA RENB RADR[4:0] RCSB RSOP RSX RDAT[15:0] RPRTY
Memory Interface (MEMI)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
CBCSB CBRASB CBCASB CBWEB CBA[11:0] CBBS[1:0] CBDQM CBDQ[15:0]
35
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
7
DESCRIPTION The PM7341 S/UNI-IMA-84 is a monolithic integrated circuit that implements the Inverse Multiplexing for ATM (IMA 1.1) protocol with backward compatibility to IMA 1.0 and the Transmission Convergence (TC) layer function. The S/UNIIMA-84 has two line side interface modes that determine the total number of links supported: the Scalable Bandwidth Interconnect (SBI) bus interface mode and the Clock and Data interface mode. In SBI mode, the S/UNI-IMA-84 supports up to 84 T1, 63 E1 and 3 DS3 (TC only) links where each link is dynamically configurable to support either IMA 1.1, backward compatible IMA 1.0, ATM over T1/E1 and up to three ATM over DS3 streams (using HEC delineation). In the Clock and Data interface mode, the S/UNI-IMA-84 supports 32 independent T1, E1 or unchannelized links. Each link is dynamically configurable to support either IMA 1.1, backward compatible IMA 1.0, or ATM HEC cell delineation. ATM over Fractional T1/E1 is also supported. Unchannelized links may be used to support applications such as G.SHDSL. All links within an IMA group must be the same nominal rate, however the link rates within a group can be different across groups. The Scaleable Bandwidth Interconnect (SBI) high-density byte serial system interface provides higher levels of integration and dense interconnect. The SBI bus interconnects up to 84 T1s or 63 E1s asynchronously. The SBI allows transmit timing to be mastered by the PHY layer device connected to the SBI bus with the S/UNI-IMA-84 always behaving as a clock slave. In addition to framed T1s and E1s, the S/UNI-IMA-84 can transport framed DS3 links over the SBI bus. The S/UNI-IMA-84 also supports a clock and data interface mode where 32 2-pin serial clock and data interfaces are provided. Each clock and data interface can be configured to support either a T1 link, E1 link, or an unchannelized link. For IMA, all links within a group must be the same nominal rate, but IMA groups consisting of either E1 or T1 links may coexist within the S/UNI-IMA-84. Additionally, for cell delineation only, ATM over fractional T1/E1 is supported by allowing individual DS0 timeslots to be configured as active or inactive. IMA is a protocol designed to combine the transport bandwidth of multiple links into a single logical link. The logical link is called a group. The S/UNI-IMA-84 can support up to 42 independent groups with each group capable of supporting 1 to 32 links. Any link that is not participating in an IMA group can utilize the cell
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
36
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
delineation features of the S/UNI IMA-84 for implementing either ATM over E1 or ATM over T1. In the transmit direction, the S/UNI-IMA-84 accepts cells from the AnyPHY/UTOPIA Interface. The S/UNI-IMA-84 performs the IMA function which consists of taking a cell stream destined for a group and distributing the cells in a round-robin fashion to the links within a group, adding IMA Control Protocol (ICP) cells, filler cells, and stuff cells as needed. The ICP cells convey state information to the far end and are used to format an IMA frame. The IMA Frame is used as a mechanism to synchronize the links at the far end. Cell rate decoupling is performed at the IMA sub-layer via filler cells. Filler cells are used instead of physical layer cells for cell rate decoupling, thus a continuous stream of cells is sent to the TC layer. The stuff cells are used to maintain synchronization between the links in a group by absorbing the rate differential when links are running on different clocks. The data from the IMA sub-layer is passed on to the TC layer. In the TC layer, the HEC is calculated and inserted into the cell headers and optional scrambling of the payload is performed. The cell stream is then mapped into the T1 or E1 payload with zeros inserted for the framing and overhead bits or bytes. The links are then transmitted via either the high density SBI interface or the clock and data interface. The S/UNI-IMA-84 acts as a clock slave - i.e., the clock is provided from logic external to the S/UNI-IMA-84. An optional common-clock mode is provided to enable all links to run from the same clock. If using an unchannelized clock and data interface, the data is not mapped into the T1/E1 payload but is transmitted one bit for each provided clock pulse. On the receive side, the framed data is received from either the SBI or the clock/data interface, and the ATM cell data is extracted from the T1, E1 or DS3 frame structure. If using an unchannelized clock and data interface, the data is received one bit for each provided clock pulse. The TC layer searches for cell delineation as per the procedures outlined in ITUT Recommendation I.432.1. Once cell delineation is obtained, the payload is optionally descrambled and the cells are passed to the IMA sub-layer. The TC layer provides counts of errored headers as well as OCD and LCD error interrupts. The receive IMA sublayer performs IMA-frame delineation and stuff-cell removal. Based upon the ICP cell information, the S/UNI-IMA-84 determines the
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
37
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
differential delay between the links within a group and applies the link and group state machine logic to coordinate the activation and deactivation of groups and links with the far end. As cells are received, they are stored in an external FIFO structure; this structure is based upon the IMA frame boundaries and the IMA frame sequence number. When links or groups are determined to be active by the link and group state machines, the data is played out to the AnyPHY/UTOPIA Interface at a constant rate to mimic the existence of a single higher bandwidth physical link. Once a group of links is established, links can be added or deleted from the group. Under software control, the S/UNI-IMA-84 will perform all necessary steps to add or delete links from previously established groups. In order to aid diagnostics, a line side loopback and a UTOPIA side loopback are provided. Also, an ICP cell trace feature is provided. When the ICP cell trace has been enabled for a group, the S/UNI-IMA-84 will place those ICP cells where a SCCI field change is detected into a buffer that is accessible to the microprocessor.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
38
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
8
PIN DIAGRAM The S/UNI-IMA-84 is packaged in a 416-pin PBGA package that has a body size of 27mm by 27mm and a ball pitch of 1mm.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
39
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 4 View)
- S/UNI-IMA Pinout (Bottom
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
40
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9 9.1
PIN DESCRIPTION Receive Slave ATM Interface (Any-PHY mode) (28 Signals) Pin Name RCLK Type Input Pin No. W24 Function The Receive Clock (RCLK) signal is used to transfer data blocks from the S/UNI-IMA-84 across the receive Any-PHY interface. The RPA, RSOP, RSX, RDAT[15:0], and RPRTY outputs are updated on the rising edge of RCLK. The RENB, RADR[4:0], and RCSB inputs are sampled on the rising edge of RCLK. The RCLK input must cycle at a 52 MHz or lower instantaneous rate. RPA Tristate Output AB24 The Receive Packet Available (RPA) is an active high signal that indicates whether at least one cell is queued for transfer. The S/UNI-IMA-84 device drives the RPA with the cell availability status two RCLK cycles after RADR[4:0] matches the S/UNI IMA's device address. The RPA output is high-impedance at all other times. The RPA output is updated on the rising edge of RCLK. RENB Input AB26 The Receive Enable Bar (RENB) is an active low signal used to initiate the transfer of cells from the S/UNI-IMA-84 to an ATM layer component, such as a traffic management device. The RENB input is sampled on the rising edge of RCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
41
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name RADR[4] RADR[3] RADR[2] RADR[1] RADR[0]
Type Input
Pin No. AA25 AA23 AA24 AA26 Y25
Function The Receive Address (RADR[4:0]) signals are used to address the S/UNI-IMA-84 device for the purposes of polling and selection for cell transfer. The RADR[4:0] signals are valid only when the RCSB signal is sampled active in the following RCLK cycle. The RADR[4:0] input bus is sampled on the rising edge of RCLK.
RCSB
Input
Y24
The Receive Chip Select (RCSB) is an active low signal that is used to select the S/UNI-IMA-84 receive interface. When the RCSB is sampled low, it indicates that the RADR[4:0] sampled at the previous clock is a valid address. If the RCSB is sampled high, the device is not selected and the RADR[4:0] sampled on the previous cycle is not a valid address and is ignored. When sufficient address space is provided by RADR[4:0] for all devices on the bus, this signal may be tied low. The RCSB input is sampled on the rising edge of RCLK.
RSOP
Tristate Output
W25
The Receive Start of Packet (RSOP) is an active high signal that marks the start of the cell on the RDAT[15:0] bus. When RSOP is active, the first word of the cell is present on the RDAT[15:0] bus. The RSOP output is updated on the rising edge of RCLK.
RSX
Tristate Output
W23
The Receive Start of Transfer (RSX) signal is an active high signal that marks the first cycle of a data block transfer on the RDAT[15:0] bus. When the RSX signal is active, the coinciding data on the RDAT[15:0] bus represents the in-band PHY address. The RSX output is updated on the rising edge of RCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
42
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name RDAT[15] RDAT[14] RDAT[13] RDAT[12] RDAT[11] RDAT[10] RDAT[9] RDAT[8] RDAT[7] RDAT[6] RDAT[5] RDAT[4] RDAT[3] RDAT[2] RDAT[1] RDAT[0] RPRTY
Type Tristate Output
Pin No. W26 V25 V26 U25 V24 U26 U23 T25 U24 T26 R25 R26 T24 P25 R23 P26 N25
Function The Receive Cell Data (RDAT[15:0]) signals carry the ATM cell words that have been read from the S/UNI-IMA-84 internal cell buffers. When this interface is operating in 8-bit mode, the data is carried on RDAT[7:0]. The RDAT[15:0] output bus is updated on the rising edge of RCLK.
Tristate Output
The Receive Parity (RPRTY) signal provides the parity (programmable for odd or even parity) of the RDAT[15:0] bus. When the interface is operating in 8-bit mode, the parity is calculated over RDAT[7:0] The RPRTY output is updated on the rising edge of RCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
43
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9.2
Receive Slave ATM Interface (UTOPIA L2 mode) (26 Signals) Pin Name RCLK Type Input Pin No. W24 Function The Receive Clock (RCLK) signal is used to transfer data blocks from the S/UNI-IMA-84 across the receive UTOPIA L2 interface. The RCA, RSOC, RDAT[15:0], and RPRTY outputs are updated on the rising edge of RCLK. The RENB and RADR[4:0] inputs are sampled on the rising edge of RCLK. The RCLK input must cycle at a 52 MHz or lower instantaneous rate. RCA Tristate Output AB24 The Receive Cell Available (RCA) is an active high signal that, when polled using the RADR[4:0] signals, indicates if at least one cell is queued for transfer on the selected logical channel FIFO . The S/UNI-IMA-84 device drives RCA with the cell availability status for the polled port one RCLK cycle after a valid RADR[4:0] address is sampled. The RCA output is high-impedance at all other times. The RCA output is updated on the rising edge of RCLK. RENB Input AB26 The Receive Enable Bar (RENB) is an active low signal used to initiate the transfer of cells from the S/UNI-IMA-84 to an ATM-layer component, such as a traffic management device. The RENB input is sampled on the rising edge of RCLK. RADR[4] RADR[3] RADR[2] RADR[1] RADR[0] Input AA25 AA23 AA24 AA26 Y25 The Receive Address (RADR[4:0]) signals are used to address the S/UNI-IMA-84 device for the purposes of polling and selecting for cell transfer. The RADR[4:0] input bus is sampled on the rising edge of RCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
44
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name RSOC
Type Tristate Output
Pin No. W25
Function The Receive Start of Cell (RSOC) is an active high signal that marks the first word of the cell on the RDAT[15:0] bus. The RSOC output is updated on the rising edge of RCLK.
RDAT[15] RDAT[14] RDAT[13] RDAT[12] RDAT[11] RDAT[10] RDAT[9] RDAT[8] RDAT[7] RDAT[6] RDAT[5] RDAT[4] RDAT[3] RDAT[2] RDAT[1] RDAT[0] RPRTY
Tristate Output
W26 V25 V26 U25 V24 U26 U23 T25 U24 T26 R25 R26 T24 P25 R23 P26 N25
The Receive Cell Data (RDAT[15:0]) signals carry the ATM cell words that have been read from the S/UNI-IMA-84 internal cell buffers. When this interface is operating in 8-bit mode, the data is carried on RDAT[7:0]. The RDAT[15:0] output bus is updated on the rising edge of RCLK.
Tristate Output
The Receive Parity (RPRTY) signal provides the parity (programmable for odd or even parity) of the RDAT[15:0] bus. When the interface is operating in 8-bit mode, the parity is calculated over RDAT[7:0] The RPRTY output is updated on the rising edge of RCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
45
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9.3
Transmit Slave Interface (ANY-PHY mode) (34 Signals) Pin Name TCLK Type Input Pin No. F25 Function The Transmit Clock (TCLK) signal is used to transfer cells across the ANY-PHY interface to the internal downstream cell buffers. The TPA output is updated on the rising edge of TCLK. The TENB. TSX, TSOP, TDAT[15:0], TPRTY, TADR[10:0], and TCSB inputs are sampled on the rising edge of TCLK. The TCLK input must cycle at a 52 MHz or lower instantaneous rate. TPA Tristate Output N26 The Transmit Packet Available (TPA) is an active high signal that indicates the availability of space in the selected logical channel FIFO when polled using the TADR[10:0] signals. The S/UNI-IMA-84 device drives TPA with the cell availability status of the polled port two TCLK cycles after TADR[10:0] matches the S/UNI IMA's device address. The TPA output is high-impedance at all other times. The TPA output is updated on the rising edge of TCLK. TENB Input P24 The Transmit enable bar (TENB) is an active low signal that is used to indicate cell transfers to the internal cell buffers. The TENB input is sampled on the rising edge of TCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
46
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name TADR[10] TADR[9] TADR[8] TADR[7] TADR[6] TADR[5] TADR[4] TADR[3] TADR[2] TADR[1] TADR[0] TCSB
Type Input
Pin No. M25 N24 M26 L25 M24 L26 M23 K25 L24 K26 K23 J25
Function The Transmit Address (TADR[10:0]) signals are used to address logical channels for the purpose of polling and device selection. The TADR[10:0] signals are valid only when the TCSB signal is sampled active in the following TCLK cycle. The TADR[10:0] input bus is sampled on the rising edge of TCLK.
Input
The Transmit Chip Select (TCSB) is an active low signal that is used to select the S/UNI-IMA-84 transmit interface. When the TCSB is sampled low, it indicates that the TADR[10:0] sampled at the previous clock is a valid address. If the TCSB is sampled high, the device is not selected and the TADR[10:0] sampled on the previous cycle is not a valid address and is ignored. When sufficient address space is provided by TADR[10:0] for all devices on the bus, this signal may be tied low. The TCSB is asserted low one cycle after a valid address is present on the TADR[10:0] signals. The TCSB input is sampled on the rising edge of TCLK.
TSOP
Input
K24
The Transmit Start of Packet (TSOP) is an active high signal that marks the start of the cell on the TDAT[15:0] bus. When TSOP is active, the first word of the cell is present on the TDAT[15:0] bus. The TSOP output is sampled on the rising edge of TCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
47
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name TSX
Type Input
Pin No. J26
Function The Transmit Start of Transfer (TSX) signal is an active high signal that marks the first cycle of a datablock transfer on the TDAT[15:0] bus. When the TSX signal is active, the coinciding data on the TDAT[15:0] bus represents the in-band PHY address. The TSX output is sampled on the rising edge of RCLK.
TDAT[15] TDAT[14] TDAT[13] TDAT[12] TDAT[11] TDAT[10] TDAT[9] TDAT[8] TDAT[7] TDAT[6] TDAT[5] TDAT[4] TDAT[3] TDAT[2] TDAT[1] TDAT[0] TPRTY
Input
H25 H26 J24 G25 H23 G26 H24 F23 F26 G24 E25 E26 F24 D25 E23 D26 E24
The Transmit Cell Data (TDAT[15:0]) signals carry the ATM cell octets that are transferred to the internal cell buffer. When this interface is operating in 8-bit mode, only TDAT[7:0] is used. The TDAT[15:0] input bus is sampled on the rising edge of TCLK.
Input
The Transmit Parity (TPRTY) signal provides the parity (programmable for odd or even parity) of the TDAT[15:0] bus. The TPRTY signal is considered valid only when valid data and inband address are transferring as indicated by the TENB signal asserted low. When this interface is operating in 8bit mode, this signal provides the parity of TDAT[7:0]. A parity error is indicated by a status bit and a maskable interrupt. The TPRTY input signal is sampled on the rising edge of TCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
48
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9.4
Transmit Slave Interface (UTOPIA L2 mode) (26 Signals) Pin Name TCLK Type Input Pin No. F25 Function The Transmit Clock (TCLK) signal is used to transfer cells across the ANY-PHY interface to the internal downstream cell buffers. The TCA output is updated on the rising edge of TCLK. The TENB, TSOC, TDAT[15:0], TPRTY, TADR[4:0] inputs are sampled on the rising edge of TCLK. The TCLK input must cycle at a 52 MHz or lower instantaneous rate. TCA Tristate Output N26 The Transmit Cell Available (TCA) is an active high signal that indicates the availability of space in the selected logical channel FIFO when polled using the TADR[4:0] signals. The S/UNI-IMA-84 drives TCA with the cell space availability status for the polled port on TCLK cycles after a valid TADR[4:0} address is sampled. The TCA output is high-impedance when not polled. The TCA output is updated on the rising edge of TCLK. TENB Input P24 The Transmit enable bar (TENB) is an active low signal that is used to indicate cell transfers to the internal cell buffers. The TENB input is sampled on the rising edge of TCLK. TADR[4] TADR[3] TADR[2] TADR[1] TADR[0] Input M23 K25 L24 K26 K23 The Transmit Address (TADR[4:0]) signals are used to address logical channels for the purposes of polling and device selection. The TADR[4:0] input bus is sampled on the rising edge of TCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
49
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name TSOC
Type Input
Pin No. K24
Function The Transmit Start of Cell (TSOC) is an active high signal that marks the first word of the cell on the TDAT[15:0] bus. The TSOC input is sampled on the rising edge of TCLK.
TDAT[15] TDAT[14] TDAT[13] TDAT[12] TDAT[11] TDAT[10] TDAT[9] TDAT[8] TDAT[7] TDAT[6] TDAT[5] TDAT[4] TDAT[3] TDAT[2] TDAT[1] TDAT[0] TPRTY
Input
H25 H26 J24 G25 H23 G26 H24 F23 F26 G24 E25 E26 F24 D25 E23 D26 E24
The Transmit Cell Data (TDAT[15:0]) signals carry the ATM cell octets that are transferred to the internal cell buffer. The TDAT[15:0] signals are considered valid only when the TENB signal is asserted low. When this interface is operating in 8bit mode, only TDAT[7:0] is used. The TDAT[15:0] input bus is sampled on the rising edge of TCLK.
Input
The Transmit Parity (TPRTY) signal provides the parity (programmable for odd or even parity) of the TDAT[15:0] bus. The TPRTY signal is considered valid only when valid data is transferring as indicated by the TENB signal asserted low. When this interface is operating in 8-bit mode, this signal provides the parity of TDAT[7:0]. A parity error is indicated by a status bit and a maskable interrupt. The TPRTY input signal is sampled on the rising edge of TCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
50
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9.5
Microprocessor Interface (31 Signals) Pin Name D[15] D[14] D[13] D[12] D[11] D[10] D[9] D[8] D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] A[10] A[9] A[8] A[7] A[6] A[5] A[4] A[3] A[2] A[1] ALE Type I/O Pin No. B19 D19 A19 C19 B18 A18 B17 C18 A17 D17 B16 A16 B15 A15 C16 B14 D15 A14 C15 B13 A13 C14 B12 C13 A12 B11 C12 Function The Micro Data (D[15:0]) signals provide a data bus to allow the S/UNI-IMA-84 device to interface to an external microprocessor. Both read and write transactions are supported. The microprocessor interface is used to configure and monitor the S/UNIIMA-84 device.
Input
The Micro Address (A[10:1]) signals provide an address bus to allow the S/UNI-IMA-84 device to interface to an external microprocessor. The A[10:1] indicate a word address. The S/UNIIMA-84 microprocessor interface is not byte addressable. The A[10:1] input signals are sampled while the ALE is asserted high. The Address Latch Enable (ALE) is an active high signal that latches the A[10:1] signals during the address phase of a bus transaction. When ALE is set high, the address latches are transparent. When ALE is set low, the address latches hold the address provided on A[10:1]. The ALE input has an internal pull-up resistor.
Input
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
51
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name WRB
Type Input
Pin No. A11
Function The Write Strobe Bar (WRB) is an active low signal that qualifies write accesses to the S/UNI-IMA-84 device. When the CSB is set low, the D[15:0] bus contents are clocked into the addressed register on the rising edge of WRB. The Read Strobe Bar (RDB) is an active low signal that qualifies read accesses to the S/UNI-IMA-84 device. When the CSB is set low, the S/UNI-IMA-84 device drives the D[15:0] bus with the contents of the addressed register on the falling edge of RDB. The Chip Select Bar (CSB) is an active low signal that qualifies read/write accesses to the S/UNI-IMA84 device. The CSB signal must be set low during read and write accesses. When the CSB is set high, the microprocessor-interface signals are ignored by the S/UNI-IMA-84 device. If the CSB is not required (register accesses are controlled only by WRB and RDB), then it should be connected to an inverted version of the RSTB signal.
RDB
Input
D12
CSB
Input
B10
INTB
OpenDrain Output
C11
The Interrupt Bar (INTB) is an active low signal indicating that an enabled bit in the Master Interrupt Register was set. When INTB is set low, the interrupt is active and enabled. When INTB is tristate, there is no interrupt pending or it is disabled. INTB is an open drain output and should be pulled high externally with a fast resistor. Maximum output current (IMAX) = TBD mA
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
52
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9.6
SDRAM I/F (35 Signals) Pin Name CBCSB Type Output Pin No. AD9 Function The Cell Buffer SDRAM Chip Select Bar (CBCSB) is an active low signal used to control the SDRAM. CBCSB, CBRASB, CBCASB, and CBWEB define the command being sent to the SDRAM. The CBCSB output is updated on the rising edge of SYSCLK. CBRASB Output AF10 The Cell Buffer SDRAM Row Address Strobe Bar (CBRASB) is an active low signal used to control the SDRAM. CBCSB, CBRASB, CBCASB, and CBWEB define the command being sent to the SDRAM. The CBRASB output is updated on the rising edge of SYSCLK. CBCASB Output AC10 The Cell Buffer SDRAM Column Address Strobe Bar (CBCASB) is an active low signal used to control the SDRAM. CBCSB, CBRASB, CBCASB, and CBWEB define the command being sent to the SDRAM. The CBCASB output is updated on the rising edge of SYSCLK. CBWEB Output AE11 The Cell Buffer SDRAM Write Enable Bar (CBWEB) is an active low signal used to control the SDRAM. CBCSB, CBRASB, CBCASB, and CBWEB define the command being sent to the SDRAM. The CBWEB output is updated on the rising edge of SYSCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
53
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name CBA[11] CBA[10] CBA[9] CBA[8] CBA[7] CBA[6] CBA[5] CBA[4] CBA[3] CBA[2] CBA[1] CBA[0] CBBS[1] CBBS[0]
Type Output
Pin No. AD10 AF11 AE12 AF12 AD11 AE13 AC12 AF13 AD12 AE14 AD13 AE15 AD14 AF15
Function The Cell Buffer SDRAM Address (CBA[11:0]) signals identify the row address (CBA[11:0]) and column address (CBA[7:0]) for the locations accessed. The CBA[11:0] output is updated on the rising edge of SYSCLK.
Output
The Cell Buffer SDRAM Bank Select (CBBS[1:0]) signals determine which bank of a dual/quad bank Cell Buffer SDRAM chip is active. CBBS is generated along with the row address when CBRASB is asserted low. The CBBS[1:0] outputs are updated on the rising edge of SYSCLK.
CBDQM
Output
AE16
The Cell Buffer SDRAM Input/Output Data Mask (CBDQM) signal is held high until the SDRAM initialization is complete and then set low for normal operation. The CBDQM output is updated on the rising edge of SYSCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
54
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name CBDQ[15] CBDQ[14] CBDQ[13] CBDQ[12] CBDQ[11] CBDQ[10] CBDQ[9] CBDQ[8] CBDQ[7] CBDQ[6] CBDQ[5] CBDQ[4] CBDQ[3] CBDQ[2] CBDQ[1] CBDQ[0]
Type I/O
Pin No. AD15 AF16 AC15 AE17 AD16 AF17 AC17 AE18 AD17 AF18 AF19 AD18 AE20 AC19 AF20 AD19
Function The Cell Buffer SDRAM Data (CBDQ[15:0]) signals interface directly with the Cell Buffer SDRAM data ports. The CBDQ[15:0] bi-directional signals are sampled and updated/tristated on the rising edge of SYSCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
55
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9.7
Clk/Data (129 signals) Pin Name TSCLK[31] TSCLK[30] TSCLK[29] TSCLK[28] TSCLK[27] TSCLK[26] TSCLK[25] TSCLK[24] TSCLK[23] TSCLK[22] TSCLK[21] TSCLK[20] TSCLK[19] TSCLK[18] TSCLK[17] TSCLK[16] TSCLK[15] TSCLK[14] TSCLK[13] TSCLK[12] TSCLK[11] TSCLK[10] TSCLK[9] TSCLK[8] TSCLK[7] TSCLK[6] TSCLK[5] TSCLK[4] TSCLK[3] TSCLK[2] TSCLK[1] TSCLK[0] Type Input Pin No. A23 B22 D22 C22 A21 B20 A20 C20 B9 C10 A9 B8 C9 B7 D8 A7 C8 B6 D6 A6 B3 C4 A3 A2 E3 F2 F4 F3 F1 G2 G1 G3 Function The Transmit Serial Clock (TSCLK[31:0]) signals contain the transmit clocks for the 32 independently timed links. The TSDATA[31:0] signals are updated on the falling edge of the corresponding TSCLK[31:0] clock. For channelized T1 or E1 links, TSCLK[n] must be gapped during the framing bit (for T1 interfaces) or during time-slot 0 (for E1 interfaces) of the TSDATA[n] stream. The S/UNIIMA-84 uses the gapping information to determine the time-slot alignment in the transmit stream. For unchannelized links, TSCLK[n] must be externally gapped during the bits or time-slots that are not part of the transmission format payload (i.e., not part of the ATM Cell). The TSCLK[31:0] input signal is nominally a 50% duty cycle clock of 1.544 MHz for T1 links and 2.048 MHz for E1 links. The TSCLK[31:0] may operate at higher rates in the unchannelized mode. At higher rates, the amount of lines available is limited. See 12.3.2.2 for more details.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
56
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name TSDATA[31] TSDATA[30] TSDATA[29] TSDATA[28] TSDATA[27] TSDATA[26] TSDATA[25] TSDATA[24] TSDATA[23] TSDATA[22] TSDATA[21] TSDATA[20] TSDATA[19] TSDATA[18] TSDATA[17] TSDATA[16] TSDATA[15] TSDATA[14] TSDATA[13] TSDATA[12] TSDATA[11] TSDATA[10] TSDATA[9] TSDATA[8] TSDATA[7] TSDATA[6] TSDATA[5] TSDATA[4] TSDATA[3] TSDATA[2] TSDATA[1] TSDATA[0]
Type Output
Pin No. C25 D24 C26 B26 A22 B21 D21 C21 C7 B5 A5C6 B4 D5 A4 C5 D3 D1 E2 E4 B1 C2 C1 D2 H4 H1 H3 J2 J1 K2 J3 K1
Function The Transmit Serial Data (TSDATA[31:0]) signals contain the transmit data for the 32 independently timed links. For channelized links, TSDATA[n] contains the 24 (T1) or 31 (E1) timeslots that comprise the channelized link. TSCLK[n] must be gapped during the T1 framing bit position or the E1 frame alignment signal (time-slot 0). The S/UNI-IMA-84 uses the location of the gap to determine the channel alignment on TSDATA[n]. For unchannelized links, TSDATA[n] contains the ATM cell data. For certain transmission formats, TSDATA[n] may contain place holder bits or timeslots. TSCLK[n] must be externally gapped during the place holder positions in the TSDATA[n] stream. The TSDATA[31:0] output signals are updated on the falling edge of the corresponding TSCLK[31:0] clock
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
57
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name RSCLK[31] RSCLK[30] RSCLK[29] RSCLK[28] RSCLK[27] RSCLK[26] RSCLK[25] RSCLK[24] RSCLK[23] RSCLK[22] RSCLK[21] RSCLK[20] RSCLK[19] RSCLK[18] RSCLK[17] RSCLK[16] RSCLK[15] RSCLK[14] RSCLK[13] RSCLK[12] RSCLK[11] RSCLK[10] RSCLK[9] RSCLK[8] RSCLK[7] RSCLK[6] RSCLK[5] RSCLK[4] RSCLK[3] RSCLK[2] RSCLK[1] RSCLK[0]
Type Input
Pin No. AC25 AD26 AD25 AE26 AC22 AF23 AE23 AD21 AC21 AE21 AD8 AF8 AD6 AC6 AD1 AC3 AE7 AF6 AD5 AC5 AD4 AE4 AD2 AB3 AB1 AB2 Y3 AA1 Y2 V3 W1 W2
Function The Receive Serial Clock (RSCLK[31:0]) signals contain the recovered line clock for the 32 independently timed links. The RSDATA[31:0] signals are sampled on the rising edge of the corresponding RSCLK[31:0] clock. For channelized T1 or E1 links, RSCLK[n] must be gapped during the framing bit (for T1 interfaces) or during time-slot 0 (for E1 interfaces) of the RSDATA[n] stream. The S/UNIIMA-84 uses the gapping information to determine the time-slot alignment in the receive stream. RSCLK[31:0] is nominally a 50% duty cycle clock of 1.544 MHz for T1 links and 2.048 MHz for E1 links. For unchannelized links, RSCLK[n] must be externally gapped during the bits or time-slots that are not part of the transmission format payload (i.e., not part of the ATM cell). The RSCLK[31:0] input signal is nominally a 50% duty cycle clock of 1.544 MHz for T1 links and 2.048 MHz for E1 links. The RSCLK[31:0] may operate at higher rates in the unchannelized mode. At higher rates, the amount of lines available is limited See 12.3.2.2 for more details.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
58
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name RSDATA[31] RSDATA[30] RSDATA[29] RSDATA[28] RSDATA[27] RSDATA[26] RSDATA[25] RSDATA[24] RSDATA[23] RSDATA[22] RSDATA[21] RSDATA[20] RSDATA[19] RSDATA[18] RSDATA[17] RSDATA[16] RSDATA[15] RSDATA[14] RSDATA[13] RSDATA[12] RSDATA[11] RSDATA[10] RSDATA[9] RSDATA[8] RSDATA[7] RSDATA[6] RSDATA[5] RSDATA[4] RSDATA[3] RSDATA[2] RSDATA[1] RSDATA[0]
Type Input
Pin No. AB23 AB25 AC26 AC24 AF25 AF24 AD23 AE24 AD20 AF21 AF9 AE9 AD7 AF7 AF3 AE3 AC8 AE8 AE6 AF5 AE5 AF4 AF2 AE1 AC1 AB4 AC2 AA3 AA4 AA2 Y1 W4
Function The Receive Serial Data (RSDATA[31:0]) signals contain the recovered line data for the 32 independently timed links. For channelized links, RSDATA[n] contains the 24 (T1) or 31 (E1) time-slots that comprise the channelized link. RSCLK[n] must be gapped during the T1 framing bit position or the E1 frame alignment signal (time-slot 0). The S/UNI-IMA-84 uses the location of the gap to determine the channel alignment on RSDATA[n]. For unchannelized links, RSDATA[n] contains the ATM cell data. For certain transmission formats, RSDATA[n] may contain place-holder bits or timeslots. RSCLK[n] must be externally gapped during the place-holder positions in the RSDATA[n] stream. The RSDATA[31:0] input signals are sampled on the rising edge of the corresponding RSCLK[31:0] clock.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
59
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name CTSCLK
Type Input
Pin No. H2
Function The Common Transmit Serial Clock (CTSCLK) signal is a common transmit line clock that can optionally be used by all 32 serial links instead of each link's transmit serial line clock (TSCLK[n]). Ground if not used. The CTSCLK input signal is nominally a 50% duty cycle clock of 1.544 MHz for T1 links and 2.048 MHz for E1 links.
9.8
SBI Interface Signals (27) Pin Name DC1FP Type Input Pin No. P3 Function The Active High Drop Bus C1 Frame Pulse (C1FP) signal is externally generated to indicate the first C1 octet of each four-frame SBI multiframe on the Drop bus. This frame pulse is a single REFCLK cycle long and is sampled on the rising edge of REFCLK. This signal should be pulsed once every fourth C1 octet to produce a 2 KHz multiframe signal. The frame pulse does not need to be repeated every fourth SBI frame. The S/UNI-IMA-84 will synchronize to this signal and flywheel in its absence. DDATA[7] DDATA[6] DDATA[5] DDATA[4] DDATA[3] DDATA[2] DDATA[1] DDATA[0] Input R4 U2 T3 U1 U4 V2 U3 V1 The Drop Bus Data (DDATA[7:0]) signals are a time division multiplexed bus which transports tributaries by assigning them to fixed octets within the SBI BUS structure. Multiple PHY devices can drive this bus at uniquely assigned tributary columns within the SBI BUS structure. The DDATA[7:0] input signals are sampled on the rising edge of REFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
60
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name DDP
Type Input
Pin No. R1
Function The Drop Bus Data Parity (DDP) signal carries the even or odd parity for the drop bus signals. The parity calculation encompasses DDATA[7:0], DPL, and DV5 signals. The selection of even or odd parity is made via the SBI_PAR_CTL bit of SBI Extract Control Register. Multiple PHY-devices can drive this signal at uniquely assigned tributary columns within the SBI BUS structure. This parity signal is intended to detect multiple sources in the column assignment. The DDP input signal is sampled on the rising edge of REFCLK.
DPL
Input
T2
The Active High Drop Bus Payload (DPL) is an active high signal that indicates valid data within the SBI BUS structure. This signal is asserted during all octets making up a tributary. This signal goes high during the V3 octet within a tributary to accommodate negative timing adjustments between the tributary rate and the fixed SBI BUS structure. This signal goes low during the octet after the V3 octet within a tributary to accommodate positive timing adjustments between the tributary rate and the fixed SBI BUS structure. Multiple PHY-devices can drive this signal at uniquely assigned tributary columns within the SBI BUS structure. The DPL input signal is sampled on the rising edge of REFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
61
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name DV5
Type Input
Pin No. T1
Function The Active High Drop Bus Payload Indicator (DV5) is an active high signal that locates the position of the floating payloads for each tributary within the SBI BUS structure. Timing differences between the port timing and the SBI BUS timing are indicated by adjustments of this payload pointer relative to the fixed SBI BUS structure. Multiple PHY-devices can drive this signal at uniquely assigned tributary columns within the SBI BUS structure. All movements indicated by this signal must be accompanied by appropriate adjustments in the DPL signal. The DV5 input signal is sampled on the rising edge of REFCLK.
AC1FP
Input
R2
The Active High Add Bus C1 Frame Pulse (C1FP) signal is externally generated to indicate the first C1 octet of each four-frame SBI multiframe on the Add bus. This frame pulse is a single REFCLK cycle long and is sampled on the rising edge of REFCLK. This signal should be pulsed once every fourth C1 octet to produce a 2 KHz multiframe signal. The frame pulse does not need to be repeated every fourth SBI frame. The S/UNI-IMA-84 will synchronize to this signal and flywheel in its absence.
ADATA[7] ADATA[6] ADATA[5] ADATA[4] ADATA[3] ADATA[2] ADATA[1] ADATA[0]
Tristate Output
M2 M1 L3 N2 M4 N1 M3 P2
The Add Data (ADATA[7:0]) signals are a time division multiplexed bus which transports tributaries by assigning them to fixed octets within the SBI BUS structure. The S/UNI-IMA-84 drives ADATA[7:0] only at uniquely assigned tributary columns within the SBI BUS structure. The ADATA[7:0] output signals are updated on the rising edge of REFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
62
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name ADP
Type Tristate Output
Pin No. L1
Function The Add Bus Data Parity (ADP) signal carries the even or odd parity for the add bus signals. The parity calculation encompasses ADATA[7:0], APL and AV5 signals. The selection of even or odd parity is made via SBI_PAR_CTL bit of SBI Insert Control Register. The S/UNI-IMA-84 drives ADP only at uniquely assigned tributary columns within the SBI BUS structure. The ADP output signal is updated on the rising edge of REFCLK.
APL
Tristate Output
K3
The Active High Add Bus Payload (APL) is an active high signal that indicates valid data within the SBI BUS structure. This active high signal is asserted during all octets making up a tributary. This signal goes high during the V3 or H3 octet within a tributary to accommodate negative timing adjustments between the tributary rate and the fixed SBI BUS structure. This signal goes low during the octet after the V3 or H3 octet within a tributary to accommodate positive timing adjustments between the tributary rate and the fixed SBI BUS structure. The S/UNI-IMA-84 drives the APL only at uniquely assigned tributary columns within the SBI BUS structure. The APL output signal is updated on the rising edge of REFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
63
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name AV5
Type Tristate Output
Pin No. L2
Function The Active High Add Bus Payload Indicator (AV5) is an active high signal that locates the position of the floating payload for each tributary within the add bus structure. The S/UNI-IMA-84 drives AV5 only at uniquely assigned tributary columns within the SBI BUS structure. All movements indicated by this signal are accompanied by appropriate adjustments in the APL signal. The AV5 output signal is updated on the rising edge of REFCLK.
AJUST_RE Q
Input
P1
The Active High Add Bus Justification Request (AJUST_REQ) signal is used to speed up or slow down the S/UNI-IMA-84 which is sending data to the PHY (e.g., TEMUX). This active high signal indicates negative timing adjustments when asserted high during the V3 or H3 octet, depending on the tributary type. In response to this, the S/UNI-IMA-84 will send an extra byte in the V3 or H3 octet of the next frame. This signal indicates positive timing adjustments when asserted high during the octet following the V3 or H3 octet, depending on the tributary type. The S/UNI-IMA-84 will respond to this by not sending an octet during the V3 or H3 octet of the next frame. All timing adjustments from the S/UNI-IMA-84 in response to the justification request will still set the payload and payload indicators appropriately for timing adjustments. The AJUST_REQ input signal is sampled on the rising edge of REFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
64
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name AACTIVE
Type Output
Pin No. K4
Function The Add Bus Active Indicator (AACTIVE) is an active high signal that is asserted during all octets when driving data and control signals - ADATA[7:0], ADP, APL and AV5 - onto the Add bus. All other SBI Link Layer devices (e.g., other S/UNIIMA-84s on the SBI bus) driving the Add bus listen to this signal to detect multiple sources driving the Add bus, which can occur due to configuration problems The AACTIVE output is asserted on the rising edge of REFCLK.
ADETECT
Input
N3
The Add Bus Active Detector (ADETECT) signal indicates when another device is driving the Add bus. Other Link Layer device AACTIVE outputs can be externally OR'ed together and connected to ADETECT. When the S/UNI-IMA-84 is driving AACTIVE high and simultaneously detects ADETECT is high, it tristates its Add bus outputs to minimize or eliminate contention. ADETECT is an asynchronous signal which is used to disable the tristate drivers on the ADD bus. The AND of AACTIVE and ADETECT is used. to indicate that a collision has occurred. This input must be tied low when not used.
9.9
General (5 signals) Pin Name RSTB Type Input Pin No. AE22 Function The Reset Bar (RSTB) is an active low signal that provides an asynchronous S/UNI-IMA-84 reset. RSTB is a Schmitt-triggered input with an internal pull-up resistor.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
65
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name OE
Type Input
Pin No. AF22
Function The Output Enable (OE) is an active high signal that allows all of the outputs of the device to operate in their functional state. When this signal is low, all outputs of the S/UNI-IMA-84 go to the high impedance state, with the exception of TDO. The System Clock (SYSCLK) signal is the master clock for the S/UNI-IMA-84 device. The core S/UNIIMA-84 logic (including the SDRAM interface) is timed to this signal. External SDRAM devices share this clock and must have clocks aligned within 0.2ns skew of the clock seen by the S/UNI-IMA-84 device. This clock must be stable prior to deasserting RSTB 0->1. SYSCLK must cycle at a 50-55 MHz instantaneous rate to support the maximum number of links (84 T1, 63 E1 or 3 DS3).
SYSCLK
Input
AE10
REFCLK
Input
R3
SBI_MODE:The Reference Clock (REFCLK) signal is an externally generated 19.44MHz +/-50ppm clock with a nominal 50% duty cycle. REFCLK is common to both the add and drop sides of the SBI BUS. In CLK/Data mode, REFCLK is required and may be operated at frequencies up to 52 MHz. In general, for T1 and E1 links, 33 MHz is sufficient. See 12.3.2.3 for details on selecting the proper frequency.
NC
AD22
No Connect. This signal ball is not connected to the die.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
66
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
9.10 JTAG & Scan Interface (7 Signals) Pin Name TCK Type Input Pin No. A25 Function The Test Clock (TCK) signal provides timing for test operations that are carried out using the IEEE P1149.1 test access port. The Test Mode Select (TMS) is an active high signal that controls the test operations carried out using the IEEE P1149.1 test access port. The TMS signal has an integral pull-up resistor. The TMS input is sampled on the rising edge of TCK. TDI Input A24 The Test Data Input (TDI) signal carries test data into the S/UNI-IMA-84 via the IEEE P1149.1 test access port. The TDI signal has an integral pull-up resistor. The TDI input is sampled on the rising edge of TCK. TDO Tristate B23 The Test Data Output (TDO) signal carries test data out of the S/UNI-IMA-84 via the IEEE P1149.1 test access port. TDO is a tristate output that is inactive except when the scanning of data is in progress. The TDO output is updated/tristated on the falling edge of TCK. TRSTB Input C23 The Active low Test Reset (TRSTB) is an active low signal that provides an asynchronous S/UNI-IMA-84 test access port reset via the IEEE P1149.1 test access port. TRSTB is a Schmitt-triggered input with an integral pull-up resistor. Note that when not being used, TRSTB must be connected to the RSTB input. SCAN_MODE Input B A10 The Active low Scan Mode (SCAN_MODEB) is an active low signal that places the S/UNI-IMA-84 into a manufacturing test mode. Must be tied high to disable the scan logic.
TMS
Input
B24
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
67
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Pin Name SCANENB
Type Input
Pin No. D10
Function The Active low Scan Enable (SCANENB) is an active low signal that enables the internal scan logic for production testing. Must be tied high to disable the scan logic.
9.11 Power (120 Signals) Pin Name VDDI (1.8 V) Type Power Pin No. E1 W3 AF14 AE19 Y26 R24 C17 A8 Function The core power pins (VDDI[7:0]) should be connected to a well-decoupled +1.8 V DC supply.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
68
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
A1,A26 VSS The VSS pins should be connected to B2,B25 GND. VSSO pins are ground pins for ports. C3,C24 VSSQ pins are "quiet" ground pins for ports. D4,D9 VSSI pins are core ground pins. All grounds D13,D14 should be connected together. D18,D23 J4,J23 N4,N23 P4,P23 V4,V23 AC4,AC9 AC13 AC14 AC18 AC23 AD3,AD24 AE2,AE25 AF1,AF26 K10,K11 K12,K13 K14,K15 K16,K17 L10,L11 L12,L13 L14,L15 L16,L17 M10,M11 M12,M13 M14,M15 M16,M17 N10,N11 N12,N13 N14,N15 N16,N17 P10,P11 P12,P13 P14,P15 P16,P17 R10,R11 R12,R13 R14,R15 R16,R17 T10,T11 T12,T13 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 69 T14,T15 T16,T17 U10,U11
VSS (VSSI, VSSO, VSSQ)
Ground
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
VDD (3.3V)
Power
D7 D11 D16 D20 G4 G23 L4 L23 T4 T23 Y4 Y23 AC7 AC11 AC16 AC20
VDD (3.3V) The I/O power pins (VDD) should be connected to a well-decoupled +3.3 V DC supply. These pins include the VDDO pins for the switching, as well as the VDDQ for the quiet power pins.
Notes on Pin Description: * * * All S/UNI-IMA-84 I/O present minimum capacitive loading and operate at TTL logic levels and can tolerate 5.0V levels. Inputs RSTB, ALE, TCK, TMS, TDI and TRSTB, TSCLK, CTSCLK, RSCLK, RSDATA, an OE have internal pull-up resistors. Power to the VDD (3.3V) pins should be applied before power to the VDDI (1.8V) pins is applied. Similarly, power to the VDDI (1.8V) pins should be removed before power to the VDD (3.3V) pins is removed.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
70
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10
FUNCTIONAL DESCRIPTION This section describes the function of each entity in the S/UNI-IMA-84 block diagram. Throughout this document the use of the term "transmit" implies data read in from the cell interface and sent out the lineside interface. Conversely, "receive" is used to describe the data path from the lineside interface to the cell interface. The term "virtual PHY" refers to a single flow on the Any-PHY/UTOPIA bus. Each IMA group or a single TC connection is mapped to a virtual PHY. For simplicity, both an IMA group and a TC connection will be referenced as a group. Each IMA group can map data to/from multiple links. Each TC group is mapped to a single link. The term "link" refers to either: (1) a T1, E1, or DS3 link that is multiplexed onto the SBI bus or (2) a single T1/E1 link or unchannelized link on the clock/data interface. When supporting fractional T1/E1 via the Clock/Data interface, the timeslots that are chosen to be part of the fractional connection are also referred to as a link. Within the clock/data interface, the external links are mapped to a contiguous space identified as Virtual Links. To support multiple fractional TC flows on a single external signal, a mapping is used to split a single channelized external signal into multiple Virtual Links. At the per-link FIFOs, the clock/data Virtual Link naming convention is used synonymously with the Physical Link naming convention.
10.1 Any-PHY/UTOPIA Interfaces The ATM cell interfaces are Any-PHY compliant 8/16 bit slave interfaces which are compatible with the following options: * * * Any-PHY Slave UTOPIA Level 2, 31-port slave (multi-PHY-mode) UTOPIA Level 2, single port slave (single address mode) for receive side only.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
71
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.1.1 Transmit Any-PHY/UTOPIA Slave (TXAPS) In the transmit direction, each S/UNI-IMA-84 receives cells on the AnyPHY/UTOPIA L2 compatible interface operating at clock rates up to 52 MHz and supporting 16-bit and 8-bit wide cells. The S/UNI-IMA-84 operates as a bus slave only. Cell transfers are cell-based, that is, an entire cell is transferred from one PHY device before another is selected. Polling occurs concurrently with cell transfers to ensure maximum throughput. Data pausing is not supported in Any-PHY mode. If the TENB is deasserted prior to a complete cell being transferred, the cell transfer error interrupt will be triggered. 10.1.1.1 UTOPIA Level 2 Multi-Address Slave Mode
In the UTOPIA Level 2 Multi-address Slave mode, the transmit interface of the S/UNI-IMA-84 appears as a 31 port multi-PHY. An 11-bit configuration register TCAEN (only 4 bits are used in UL2 mode) controls the response to polling the individual channels within this group of 31 ports. Setting high on TCAEN[0] enables addresses 0 through 7, and TCAEN[3] enables addresses 24 through 30. This is typically used to allow more than one slave device to share the Transmit Any-PHY/UTOPIA master bus. For UTOPIA L2 Mode, only 31 ports are available, using 31 independent FIFOs. UTOPIA L2 Mode limits the S/UNI-IMA-84 to 31 IMA groups or TC links. Only TADR[4:0] are used for polling and selection. Each FIFO will only assert TCA when polled if it is not in the process of transferring a cell and if there is room in the FIFO for a complete cell. Unlike Any-PHY, in UTOPIA Mode the virtual PHY port must first be selected prior to the start of the data transfer. This selection is done using the same address lines that are used for polling in combination with the TENB pin. 10.1.1.2 Any-PHY Slave Mode
In the Any-PHY slave mode, the transmit interface of the S/UNI-IMA-84 appears as a multi-PHY device with 84 ports used for the data path where all ports are identified in the in-band address. The configuration register TCAEN controls the response to polling the individual channels within this group of 84 ports. Setting high on TCAEN[0] enables addresses 0 through 7, and TCAEN[3] enables addresses 24 through 31. This is typically used to allow more than one slave device to share the Transmit Any-PHY/UTOPIA master bus.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
72
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Conceptually, the Any-PHY protocol can be divided into two processes: polling and cell transfer. Polling in the transmit direction is used by the bus master - typically a traffic buffering and management device - to determine when a buffered data cell can be safely sent to a PHY. The S/UNI-IMA-84 provides an independent 3-deep cell buffer FIFO for each virtual PHY. In total, there are 84 FIFOs. This arrangement ensures that there is no head-of-line blocking, while providing latitude to the master for servicing high data rate ports as well as low data rate ports. The traffic manager need only poll those virtual PHYs for which it has cells queued. A cell transfer can be initiated after a polled virtual PHY asserts the TPA output. Each virtual PHY's cell buffer availability status (i.e., the status that will be driven onto the TPA output when the virtual PHY is polled) is deasserted when the first byte of the last cell is written into the buffer. It is re-asserted only when the FIFO can accept another complete cell. In Any-PHY mode, polling is performed using the TADR[10:0] bus in conjunction with the TCSB. Each S/UNI-IMA-84 uses the TADR[6:0] bits to indicate the 84 logical virtual PHYs. The upper bits from the TADR bus, TADR[10:7], are compared to the configured address to select the device. The remaining address bits from the traffic manager are decoded externally and are used to drive the TCSB. The address prepend field in the cell transfer contains the entire 16-bit address. In 8-bit mode, the prepend address is reduced to 8-bits. In Any-PHY mode, the cell transfer is initiated after a successful poll. The virtual PHY address is prepended to the cell, thus performing an inband selection. The S/UNI-IMA-84 monitors the address prepend on the cell transfer to detect its cells. 10.1.1.3 Transmit Cell Transfer Format
The Transmit Cell Transfer Format is shown in Figure 5 and Figure 6. Word/byte 0 is required for cell transfers to an Any-PHY slave. The address prepend is the S/UNI-IMA-84 virtual PHY ID. The virtual PHY ID can be mapped to a TC link or to an IMA group. Optional prepends are supported, but are ignored by the S/UNIIMA-84. Inclusion of optional words is statically configurable for the interface. The optional words are always ignored.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
73
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 5
- 16-bit Transmit Cell Transfer Format Bits 15-8 Bits 7-0 Address Prepend
Word 0
(Any-PHY only)
Word 1
Optional Prepend H1 H3 HEC/UDF PAYLOAD1 PAYLOAD3
* * * * * *
(Optional)
Word 2 Word 3 Word 4 Word 5 Word 6
H2 H4 PAYLOAD2 PAYLOAD4
Word 28
PAYLOAD47 - 8-bit Transmit Cell Transfer Format Bits 7-0
PAYLOAD48
Figure 6
Byte 0
Address Prepend
(Any-PHY only)
Byte 1
Optional Prepend[15:8] Optional Prepend[7:0] H1 H2 H3
(Optional)
Byte 2
(Optional)
Byte 3 Byte 4 Byte 5
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
74
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Byte 6 Byte 7*
H4 HEC PAYLOAD1
* * *
Byte 8
Byte 55
PAYLOAD48
10.1.2 Receive Any-PHY/UTOPIA Slave (RXAPS) In the receive direction, each S/UNI-IMA-84 transmits cells on an AnyPHY/UTOPIA L2 compatible interface operating at clock rates up to 52 MHz and supporting 16-bit and 8-bit wide cells. The S/UNI-IMA-84 operates as a bus slave. In all modes, an optional prepend is allowed on the bus. This prepend will always be set to zero and has no significance to the S/UNI IMA-84 but is provided for interoperability. 10.1.2.1 UTOPIA Level 2 Multi-Address Slave Mode
In UTOPIA Level 2 Multi-Address Slave mode, the S/UNI-IMA-84 operates as a 31 port multi-PHY with each virtual PHY stored in its own FIFO. UTOPIA L2 Mode limits the S/UNI-IMA-84 to 31 IMA groups or TC links. A 4-bit configuration register, RCAEN, controls the response to polling the individual channels within this group of 31 ports. Setting RCAEN[0] enables addresses 0 through 7, and RCAEN[3] enables addresses 24 through 30. This is typically used to allow more than one slave device to share the Receive UTOPIA master bus. When polled, the Receive Packet Available (RPA) output indicates whether there is at least one cell available for transfer from the polled link. Upon selection, the interface handles data pausing anywhere in the middle of a cell transfer.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
75
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.1.2.2
UTOPIA Level 2 Single-Address Slave Mode
In UTOPIA Level 2 Single Address Slave mode, the S/UNI-IMA-84 operates as a single device with a single large 124 cell FIFO, with all cells being identified by their virtual PHY ID (VPHY ID) in an address prepend. Each IMA or TC connection is limited to a maximum of 16 cells in the FIFO. The address prepend may be optionally mapped to the HEC/UDF field in order to maintain the standard cell length. When the address presented on the Any-PHY/UTOPIA Interface RADR pins matches a programmable 5-bit configuration register (DEVID), the RXAPS will respond to polls. In all other cases, the output signals are tristated which allows other slave devices to respond. When polled, the RPA output indicates whether there is at least one cell available for transfer from any link. 10.1.2.3 Any-PHY Slave Mode
In Any-PHY Slave mode, the S/UNI-IMA-84 operates as a single device with a single large 124 cell FIFO, with all cells being identified by their virtual PHY ID (VPHY ID) in a address prepend. Each IMA or TC connection is limited to a maximum of 16 cells in the FIFO. When the address presented on the AnyPHY/UTOPIA Interface RADR pins matches a programmable 5-bit configuration register (DEVID), the RXAPS will respond to polls. In all other cases, the output signals are tristated which allows other slave devices to respond. When polled, the RPA output indicates whether there is at least one cell available for transfer from any link. In Any-PHY mode, data pausing is not supported. To support current and future ATM Layer devices, the cell interface is configurable as either an Any-PHY or UTOPIA L2 interface. Table 2 summarizes the distinctions between the two protocols. Table 2 UTOPIA L2 and Any-PHY Comparison UTOPIA L2 RDAT[15:0], RPRTY, and RSOP are driven or become high impedance immediately upon sampling RENB low or high, respectively. The RPA is driven with the cell availability status one CLK cycle after the RADR[4:0] Any-PHY RDAT[15:0], RPRTY, RSOP and RSX are driven or become high impedance on the RCLK rising edge following the one that samples RENB low or high, respectively. The RPA is driven with the cell
Attribute Latency
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
76
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
pins match the S/UNI-IMA84's address. A match is defined as either matching the programmed value in single PHY mode or being within the correct range for multi-PHY mode. RSX Undefined. It is low when not high impedance. High coincident with the first word of the cell data structure. Permitted by deasserting RENB high, but the S/UNIIMA's address must be presented on RADR[4:0] the last cycle RENB is high to reselect the same PHY. Not supported. A subsequent cell is output (provided one is available) if RENB is held low beyond the end of a cell.
availability status two CLK cycles after RADR[4:0] pins match the S/UNI-IMA-84's address.
High coincident with the first word of the cell data structure. High coincident with the first byte of the cell header. Not Permitted.
RSOP
Paused transfers
Autonomous deselection
The outputs become high impedance after the last word of a cell is transferred and until the S/UNI-IMA-84 is reselected.
10.1.2.4
Receive Cell Transfer Format
The cell format for the receive direction is the same as the transmit interface; see Figure 7 and Figure 8 for the formats.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
77
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 7
- 16-bit Receive Cell Transfer Format Bits 15-8 Bits 7-0 Address Prepend
Word 0
(Any-PHY and single channel UL2 only*)
Word 1
Optional Prepend H1 H3 HEC/UDF PAYLOAD1 PAYLOAD3
* * * * * *
(Optional)
Word 2 Word 3 Word 4* Word 5 Word 6
H2 H4 PAYLOAD2 PAYLOAD4
Word 28
PAYLOAD47
PAYLOAD48
Note: Address prepend for Single Channel UL2 may be inserted in HEC/UDF field instead of prior to the cell. Figure 8 - 8-bit Receive Cell Transfer Format Bits 7-0
Byte 0
Address Prepend
(Any-PHY and single channel UL2 only*)
Byte 1
Optional Prepend[15:8]
(Optional)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
78
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Byte 2
Optional Prepend[7:0] H1 H2 H3 H4 HEC PAYLOAD1
* * *
(Optional)
Byte 3 Byte 4 Byte 5 Byte 6 Byte 7*
Byte 8
Byte 55
PAYLOAD48
Note: Address prepend for Single Channel UL2 may be inserted in HEC/UDF field instead of prior to the cell For Any-PHY mode or single-PHY mode, the address prepend field encoding indicates the virtual PHY ID. The virtual PHY ID contains 2 sections, the lower 7 bits indicates the virtual PHY ID with valid values for 0 to 83, while the upper bits are user programmable and not used by the device but may be required in a user's system for unique device identification when multiple devices exist on a bus. For UTOPIA multi-PHY mode, the address prepend is not used. 10.1.3 Summary of Any-PHY/UTOPIA Modes The following table summarizes the available modes of the Any-PHY/UTOPIA Interfaces
Mode Dir & Protocol TX Poll
UL2 Single PHY Not supported
UL2 Multi-PHY PHY Channels: 31 Channel Enable Register:
Any-PHY PHY Channels: 84 Channel Enable Register:
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
79
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
TCAEN(3:0) Channel Address Pins: TADR(4:0) Status Pin: TCA
TCAEN(10:0) Device ID Register: CFG_ADDR(10:7) Channel Address Pins: TADR(6:0) Device Address Pins: TADR(10:7) Address Qualifier Pin: TCSB Status Pin: TCA
TX Select
Not supported
PHY Channels: 31 Channel Enable Register: TCAEN(3:0) Channel Address Pins: TADR(4:0) Select Pin: TENB
PHY Channels: 84 Channel Enable Register: TCAEN(10:0) Device ID Register: CFG_ADDR(15:7) or (7) Channel Address: Prepend bits (6:0) Device Address: Prepend bits (bit 15:7, for 16 bit mode) or (bit 7 for 8-bit mode) Select Pin: TENB
TX Transfer
Not supported
Cell Size: 8 bit X 53 or 55 bytes Cell Size: 16 bit X 27 or 28 words Enable Pin: TENB Pause in Cell: w/ TENB
Cell Size: 8 bit X 54 or 56 bytes Cell Size: 16 bit X 28 or 29 words Enable Pin: TENB, TSX to indicate first byte of transfer.
RX Poll
PHY Channels: 1
PHY Channels: 31
PHY Channels: 1 (in-band addressing is used to identify virtual PHYs)
Device ID Register: DEVID(4:0) Device Address Pins: RADR(4:0) Status Pin: RCA RX Select PHY Channels: 1 Device ID Register: DEVID(4:0) Device Address Pins: RADR(4:0) Select Pin: RENB RX Transfer bytes Cell Size: 16 bit X 27, 28 or 29 words Enable Pin: RENB
Channel Enable Register: RCAEN(3:0)
Device ID Register: DEVID(4:0)
Channel Address Pins: RADR(4:0) Device Address Pins: RADR(4:0) Status Pin: RCA PHY Channels: 31 Channel Enable Register: RCAEN(3:0) Channel Address Pins: RADR(4:0) Device Address Pins: RADR(4:0) Select Pin: RENB Select Pin: RENB Cell Size: 8 bit X 54 or 56 bytes Cell Size: 16 bit X 28 or 29 words Enable Pin: RENB Channel Address: Prepend Status Pin: RCA PHY Channels: 1 Device ID Register: DEVID(4:0)
Cell Size: 8 bit X 53, 54, 55 or 56 Cell Size: 8 bit X 53 or 55 bytes Cell Size: 16 bit X 27 or 28 words Enable Pin: RENB
Channel Address: Prepend or UDF Pause in Cell: w/ RENB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
80
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.1.4 ANY-PHY/UTOPIA Loopback For diagnostic purposes, the capability to loopback all Any-PHY/UTOPIA traffic back to the Any-PHY/UTOPIA bus is provided. Cells are taken from the Transmit group FIFOs and placed into the respective Receive Group FIFOs, or to a single FIFO on a space available basis. If the receive interface is in Any-PHY or single address UTOPIA L2 mode, all tx ports are looped back to the respective rx port. If the receive Interface is in multiple port UTOPIA L2 mode and the transmit AnyPHY is configured in 84-port Any-PHY mode, the 84 transmit ports will be aliased onto the 31 receive ports. Transmit port numbers 31 and 63 will be blocked and are not functional for loopback operations. 10.2 IMA Sub-layer 10.2.1 Overview The IMA protocol provides inverse multiplexing of a single ATM stream over multiple physical links and reassembles the original cell stream at the far-end. The inverse multiplexing is performed on a cell basis; hence, the IMA protocol is described as a cell-based protocol. See Figure 9 below. The protocol is based upon the concept of an IMA frame. An IMA frame is programmable in size and is delineated by an IMA Control Protocol (ICP) Cell. It is recommended that the ICP cells of each link in the IMA group be offset from each other to reduce the notification time of link/group status changes. The transmitter is responsible for aligning the IMA frames on all links within a group, and for ensuring that cells are transmitted continuously by adding filler cells as necessary. To maintain frame alignment in the presence of independently timed line clocks, a cell based stuffing algorithm is utilized. Since the IMA frames are aligned on transmission, this allows the receive end to recover the IMA frames and align them to remove any differential delay between the physical links.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
81
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 9
- Inverse Multiplexing
IMA Group
Physical Link #0
PHY
PHY
IMA Group
Physical Link #1
PHY
Single ATM Cell Stream from ATM Layer
PHY
Original Cell stream passed to ATM Layer
PHY
Physical Link #2
PHY
IMA Virtual LInk
Tx direction cells distributed across links in round robin sequence Rx direction cells recombined into single ATM stream
10.2.2 IDCC scheduler The IMA Data Cell Clock (IDCC) scheduler calculates the IMA Data Cell Rate (IDCR) for each group that is used by both the Receive and the Transmit IMA processors. There is one scheduler for each direction (TXIDCC and RXIDCC), and each scheduler can monitor the rate of up to 84 reference clocks; each scheduler can also generate up to 84 IDCC clocks based upon IDCR. For each group, the reference link can be selected to be one of the 84 monitored links. Each of the monitored links can only be the reference link for one group. IDCR is calculated using the following equation, with Non and M set independently for each IDCR generator. Non is the number of active links, M is the size of the IMA frame, and TRL Cell Rate (TRLCR) is the cell rate of the reference link. IDCR = Non X TRLCR X (M-1/M) X (2048/2049) TRLCR is generated from the byte rate. The byte rate is obtained by monitoring the data transfers on the internal bus in the TC layer. For each IDCR clock tick, a service request is generated and placed into a rate based FIFO. Since there may be many requests generated in a short amount of time and the rate at which each request is generated may be different, a method is required to arbitrate between the requests to prevent blocking of high rate requests by large numbers of low rate requests. To achieve this, each request is placed into a priority FIFO. The priority of the request is based upon its rate.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
82
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
There are a total of 5 rate-based FIFOs. When a service request is accepted by the Transmit IMA processor (TIMA) or the Receive IMA Data Processor (RDAT), the next request to be presented is taken from the highest priority FIFO that has an entry. In this manner, the higher rate requests get higher priority than the lower rate requests. Since the S/UNI-IMA-84 can always service all of the requests, this algorithm limits the CDV experienced by any service request to approximately one inter-arrival time of the service request for each group. Rate changes are restricted to IMA frame boundaries. An IMA frame boundary occurs once every (M-1)*N service requests. When a request is received to change the rate(Non), the request is saved until the next IMA frame boundary, at which point it takes effect. By restricting rate changes to frame boundaries, the rate accuracy is preserved preventing FIFO underflows/overflows. Since rate changes are not instantaneous, a vector that represents the active Link IDs (LIDs) in the group is passed with the service request. In this manner, the entity receiving the service requests is informed of the change in rate and of which links should currently be in the round robin for servicing. All IMA-based rate changes are internally managed by the S/UNI-IMA-84; no user interaction is necessary for correct scheduling. The IDCC is also used for scheduling the TC data flow. In this case, the rate generated is simply the cell rate of the TC link and is not modified for IMA ICP cells or stuff cells according to the following equation: IDCR = TRLCR For all TC connections, the IDCC must be configured in TC mode for the physical link. 10.2.3 Transmit IMA Processor (TIMA) The TIMA is responsible for the transmit IMA functions. This consists of distributing the cells arriving from the ATM layer to links in a group and for inserting ICP cells, filler cells, and stuff cells as required by the IMA protocol. Additionally, the TIMA can support cell transmission on connections using only the Transmission Convergence (TC) sublayer without the use of the IMA protocol sublayer.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
83
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.2.3.1
IMA Frame
The Transmit IMA processor creates the IMA frame by inserting an ICP cell after every (M-1) cells per link. Values of M supported are 32, 64, 128, and 256. The ICP cell is offset within the IMA frame. This offset is programmable on a per-link basis, and the offsets should spread throughout the frame. To avoid interaction between groups, the offsets within a group may not be aligned at the same offset. If offsets are aligned at the same offset within a group, the CDV experienced by other groups will be increased. Each frame is identified with an IMA frame sequence number (IFSN); this number is the same for every link in the group that is within the same frame and increments with each frame. The TIMA is responsible for aligning the transmission of the IMA frame on all links within a group. 10.2.3.2 Stuffing Procedure
The TIMA can support both Independent Transmit Clock (ITC) and Common Transmit Clock (CTC) modes. The difference between these modes is the stuffing protocol. The method of stuffing is set independently from the clocking mode present in the ICP cell. In CTC mode, a stuff cell is added after 2048 cells on each link. The stuff cell is identical to the ICP cell and is inserted immediately following the ICP cell. The stuff cell events will occur on the same frame on all links; however, the programmed ICP offsets determine at which cell in the frame the stuff event will occur. In ITC mode, a stuff cell is added to the reference link after 2048 cells on the reference link. On all other links in the group, stuff cells are added as necessary to compensate for data rate differences between the link and the reference link of the group. The added stuff cells (or lack of stuff cells) keep the data rate between links equalized. The stuff cell is generated immediately after the ICP cell and both the ICP cell and the stuff cell are identified as stuff cells via the Link Stuff Indication (LSI) field of the ICP cell. In CTC mode, the stuff event is always advertised in the ICP cell of the preceding frame. The stuff event may also be advertised in the 4 preceding frames. It is programmable per group whether the ICP cell is advertised starting 1 frame or 4 frames prior to the occurrence of the stuff event.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
84
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
In ITC mode, the stuff event may be advertised in the ICP cell of the preceding frame or in the four preceding frames. If the stuff event needs to be advertised for four preceding frames, a DS1/E1 clock tolerance of +/- 50 ppm, or better, is required. If a frequency tolerance of +/- 50 ppm cannot be met among the independent transmit clocks, the TIMA can provide the single frame advertisement of stuff events. To determine when a stuff cell is needed on ITC mode links (not the TRL), a link stuff detection unit with rate counters is used to track the relative rate of data being read from the link FIFOs within a group to the rate of data being read from the TRL FIFO for the same group. When the relative rate counter indicates that the rate differences have accounted for a slip of a cell, a stuff cell is inserted. 10.2.3.3 Data Flow
The TIMA can support up to 84 groups (IMA group or TC link). Each FIFO on the ATM-layer interface side represents either an IMA group or a TC group. Each group's behavior is controlled by the internal memory tables and records. For IMA groups, the following internal memory structures are used: 1) the Transmit IMA Group Configuration Record for configuring group options and mapping to a port on the ATM interface (VPHY ID) 2) Transmit IMA Group Context Record contains statistics and the current ICP cell image. 3) Transmit LID to the PHYsical Link Mapping Table is used to map individual physical links into a group and assign the LIDs.. 4) TIMA Physical Link Context Record contains per-link statistics, and state information. For TC links, only one record is used, the Transmit Physical Link Record, to maintain statistics and to map the physical link to a port on the ATM interface (VPHY ID). The TIMA performs cell transfers from the group FIFOs to the link FIFOs in response to service requests from the TxIDCC. The TxIDCC schedules both IMA groups, as well as low and high rate (DS3) TC-only connections. Groups are scheduled according to their rates. Higher-rate groups are prioritized above the lower-rate groups. The TIMA operates at a rate sufficient to ensure the TxIDCC will not suffer request congestion provided the ICP cells are spread throughout
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
85
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
the frame on IMA groups. If there is no service request pending, the TIMA remains idle. If a group is unused, no cells will be pulled from the respective group FIFO. Therefore, when de-activating groups, ATM cell flow to the S/UNIIMA-84 should be terminated prior to de-activating the group in order to prevent stale data from being stored in the group FIFO. 10.2.3.3.1 IMA Service
For each IMA group-service request, a cell is transferred from the group FIFO to one of the link FIFOs. If no cell is available from the group FIFO, an IMA filler cell is generated and placed in the link FIFO. The link FIFOs within a group are serviced in a round-robin fashion, with the round-robin order determined by the LID. If the next link in the round robin is due to receive an ICP cell, the ICP cell is generated using the link and group state information from the Transmit IMA Group Context Record, and the LID and LSI from the link. If a stuff event is scheduled, the stuff ICP cell is also inserted. Whenever an ICP cell is inserted, the IMA group servicing proceeds to the next link in the round robin without waiting for another service request. The IMA group service is complete when either: (1) a cell is transferred from the group FIFO or (2) an ATM filler cell is generated. When links are in the process of being added, but are not yet available for carrying data traffic, IMA frames consisting of filler cells and ICP cells are generated. Such links are not scheduled by the TxIDCC scheduler, but will be processed with the currently active links. During group start-up, even with all of the transmit links in the unusable state, the TxIDCC scheduler is started and IMA frames are generated. During group start-up (i.e. links are not yet in the active state), a group can be configured such that cells received via the UTOPIA L2 / Any-PHY bus can be dropped to avoid the accumulation of stale data or to drop stale data in the group FIFO left over from a previous use of the VPHY ID. . During link additions, IMA frames are generated on new links when they are added to the group. 10.2.3.3.2 TC Only Service
For TC-only mode groups, servicing is also initiated by group service requests from the TxIDCC. However, servicing a group FIFO simply entails transferring a cell from the group FIFO to the proper link FIFO. If a cell is not present in the group FIFO, no cells are transferred and the servicing of the request is complete. In TC mode, no other cells are inserted into the data stream by the IMA sub-layer (physical layer idle cells are generated by the physical layer).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
86
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.2.3.4
Timing Reference Link Maintenance
It is possible to have the timing reference link for an IMA group change from one link to another while the IMA connection is in operation. If an IMA group is operating in CTC mode, the reference link used for the scheduling is simply switched. The next stuff cell insertion still occurs 2049 cells after the previous stuff. If the IMA group is operating in ITC mode and the reference link is switched, the first stuff insertion on the new TRL occurs at approximately the same frame a stuff would have been inserted had it not become the TRL. At the time of the TRL change, the existing accrued rate differential on the new TRL is used to prorate the number of cells out of 2048 until the next TRL stuff. Although the first stuff will occur at approximately the proper number of cells to maintain the correct differential delay, the actual time of the stuff will be dependent on the new TRL rate. Similarly, the first stuff cell insertion on the previous TRL occurs in approximately the same frame a stuff cell would have been inserted had it still been the TRL although the actual frame for stuff insertion will also be dependent on the rate difference with the new TRL. This minimizes any effects on the differential delay for the group as well as reducing any FIFO level changes. All subsequent stuff cell insertions on the TRL then happen after every 2048 cells and all subsequent stuff cell insertions on the former TRL are dependent only on the link's rate difference from the new TRL.
10.2.4 Receive IMA Data Processor (RDAT) The Receive IMA Data Processor (RDAT) performs the IMA data-flow functions in the receive direction including the IMA Frame Synchronization Mechanism (IFSM), storage of data for accommodating differential delay, defect detection, and playout of data in a round robin fashion. The number of links and the differential delay tolerance required determine the SDRAM size used for the Delay Compensation Buffers (DCB). Two configurations of SDRAM are supported: 16 Mbit (1 Mbit x 16) and 64 Mbit (4 Mbit x 16), both are available as single chip devices. Differential-delay tolerance may be configured through registers on a per-group basis to any value up to the maximum listed in Figure 10. Buffering is allocated on a per link basis. Each link is allocated the same number of cell buffers. Either 256 or 1024 cell buffers may be allocated per link. See Figure 10 for the required memory sizes.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
87
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 10
- Max Differential Delay Tolerance vs. SDRAM Size
# of T1/E1 Links Cells of Buffering 1024 256 1024 Delay (T1) Delay (E1) in in ms ms 279 ms 69 ms 279 ms SDRAM size
32 T1/ 32 E1 84 T1/ 63 E1 84 T1 / 63 E
226 ms 1Mbit x16 56 ms 1Mbit x16 226 ms 4Mbit x16
10.2.4.1
Writing data to the Delay Compensation Buffers (DCB)
When there is a full cell of data in the RX Link FIFOs, the link requests service. In order to support DS3 rates, the Synchronous Payload Envelope (SPE) concept is carried over from the SBI Interface. The link FIFOs are divided into 3 groups where each group is given 1/3 of the bandwidth. The RDAT arbitrates between links requiring service within each group. If a group does not use its priority bandwidth, it is made available to the next group. This arbitration also works with the Clock/Data interface since all links should be close in rate. When a link is chosen for service, if it is not an IMA link, the cells are stored in external memory in a per link FIFO. For IMA links, the IFSM is performed to locate the IMA Frame. Once the IMA frame is located, the RDAT calculates the location to store the cells. The cells are stored in a time-based FIFO structure. The buffer address for a cell is created from the cell number in the IMA frame concatenated with the lower x (depends upon M) bits of the IMA frame sequence number. Each link has its own reserved FIFO. The cells are stored in this manner such that they are aligned in time in the external memory and the differential-delay removal is simplified. During periods in which the link is in a defect state, incoming cells will be replaced with filler cells prior to being written to the DCB. 10.2.4.2 IMA Frame Synchronization Mechanism (IFSM)
For IMA links, the RDAT performs the IFSM. The IFSM is based upon the cell delineation mechanism in I.432. The details of the IFSM can be found in AF-PHY0086.001 "Inverse Multiplexing for ATM (IMA) Specification Version 1.1", March 1999. The state Machine is shown in Figure 11.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
88
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 11
- IFSM State Machine
Valid ICP at unexpected position (with cell by cell hunting)
Missing ICP Cell
Starting State
consecutive invalid ICP cells
IMA SYNC (frame by frame)
consecutive errored ICP cells
IMA HUNT (cell by cell)
One invalid or errored/missing ICP cell consecutive valid ICP cells One valid ICP cells
IMA PRESYNC (frame by frame)
Valid ICP at unexpected position (with cell by cell hunting)
During group start-up, the fields in the ICP cells are validated by the RX IMA Protocol Processor (RIPP) block and the validated information is used to determine whether the ICP cells are valid or not. Validation by the RIPP checks the group fields of the ICP cell to ensure that they match the rest of the group and checks the LID to ensure that it is unique in the group. An ICP cell is invalid if either the IMA OAM Label, the LID, the IMA_ID, M, IFSN or the offset is not the same as the validated values. If the ICP cell cannot be validated by the RIPP (i.e. the IMA_ID is different from the rest of the group or the LID is a duplicate), the IFSM will remain in the starting state. Once the ICP cells are validated by the RIPP, the IFSM will enter the IMA Hunt state. In this state, each cell will be examined to see if it is a valid ICP cell. When a single valid ICP cell has been received, the IFSM will enter the IMA Presync state. While in the Presync state, at each expected ICP location (determined by the ICP offset and the IMA Frame Length), the cell will be examined (frame by frame).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
89
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Once gamma ( ) valid ICP cells have been received, the IFSM will enter the IMA Sync state. If either: (1) an invalid (or errored) ICP cell is received or (2) a valid ICP cell is received in an unexpected location, the IFSM will re-enter the IMA Hunt state. While in the IMA Hunt state, the stuff indicators will be ignored. While in the IMA Sync state, ICP cells are continually examined for each frame. If beta ( ) consecutive ICP cells with HEC, OCD, or CRC-10 errors (errored ICP cells) are received, then the IFSM will reenter the IMA Hunt state. Also, if alpha ( ) consecutive invalid ICP cells are received, the IFSM will reenter the IMA Hunt state. If a cell is received at the expected ICP position without an HEC error or OCD and without the IMA OAM cell header, or is a filler cell, it is considered a missing ICP cell, and the IFSM will reenter the IMA Hunt state immediately. Finally, if a valid ICP cell is received at an unexpected position, the IFSM will reenter the IMA Hunt state. Alpha, Beta, and Gamma are globally programmable for the device. The RDAT keeps working-counts for these parameters for each link. It should be noted that alpha (the count of consecutive invalid ICP cells) will not be reset upon receipt of an errored cell; although beta (the count of consecutive errored ICP cells) will be reset upon receipt of an invalid ICP cell. 10.2.4.3 Stuff Events
At this point, the RDAT detects and removes the stuff cells. Stuff cells are identified by the LSI field with the ICP cells. Stuff events consist of two back-toback ICP cells on the same link. One of the ICP cells is considered a stuff cell. Since stuff cells are inserted for the purpose of equalizing the data rate on links with independent clocks, stuff cells are removed. To improve robustness in the presence of errors, the transmitter is required to advertise that a stuff event is going to occur in the ICP cell in the frame preceding the stuff event. The transmitter may also advertise the stuff event for the 4 frames preceding the stuff event. Once a valid non-errored ICP cell has been received with a LSI of 001, 010, 011, or 100, the RDAT will maintain an internal stuff count in link-context memory. This count will be decremented every frame, until the stuff event occurs. The count will be decremented even if an incoming ICP cell is errored or invalid (as shown in Figure 12). An ICP cell received with an invalid stuff sequence (i.e., LSI of 001, when a LSI of 010 was expected) will be declared invalid, and the internal stuff count will be decremented from the previous value (as shown in Figure 13. The internal count is reset to the maximum when the stuff event occurs. A stuff
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
90
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
sequence of 111 followed by 000 is not considered an invalid stuff sequence (i.e., the RDAT will always accept immediate notification of a stuff event, to support the case when the 001 stuff cell was errored). Figure 12 - Stuff Event with Errored ICP (Advanced Indication)
Time Stuff event ICP Cell IFSN # i+4 LSI = 111 stuff_cnt =7 ICP Cell IFSN # i+3 LSI = 000 ICP Cell IFSN # i+3 LSI = 000 ICP Cell IFSN # i+2 LSI = 001 stuff_cnt =1 ICP Cell Errored stuff_cnt =2 ICP Cell IFSN # i LSI = 011 stuff_cnt =3
M-1 Filler or ATM Layer Cells
stuff_cnt =0
IFSN: IMA Frame Sequence Number LSI: Link Stuffing Indication
Figure 13
- Invalid Stuff Sequence (Advanced Indication)
Time Stuff event
M-1 Filler or ATM Layer Cells
ICP Cell IFSN # i+4 LSI = 111 stuff_cnt =7
ICP Cell IFSN # i+3 LSI = 000
ICP Cell IFSN # i+3 LSI = 000
ICP Cell IFSN # i+2 LSI = 001 stuff_cnt =1
ICP Cell IFSN #i+1 LSI=001 stuff_cnt =2
ICP Cell IFSN # i LSI = 011 stuff_cnt =3
stuff_cnt =0
IFSN: IMA Frame Sequence Number LSI: Link Stuffing Indication
10.2.4.4
IMA Frame Synchronization with Stuff Events
The RDAT will maintain synchronization while receiving stuff events subjected to HEC or CRC errors, as shown in Figure 14. When one of the ICP cells comprising a stuff event is errored or invalid, the other will be used. If both are errored or invalid, then the internally maintained stuff count will be used to identify the stuff event (given that the advanced indicators were correct). All of the cases assume that the IFSM is in the IMA Sync state prior to the window shown, and that the current errored/invalid counts are zero. Cases (1) through (6) require that alpha or beta be programmed to a value greater than one for synchronization to be maintained. Case (7) requires that alpha or beta be
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
91
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
programmed to a value greater than two for synchronization to be maintained. Case (7) also requires that advance link stuff indication be given prior to the window shown in order to detect the stuff event. Figure 14 - Errored/Invalid ICP Cells in Proximity to a Stuff Event
Time ICP n+1 (1) ICP ICP ICP n ICP
(2)
ICP
ICP
...
ICP
(3)
ICP
ICP
...
ICP
(4)
ICP
ICP
...
ICP
(5)
ICP
ICP
...
ICP
(6)
ICP
ICP
...
ICP
(7)
ICP
ICP
...
ICP
Stuff event
M-1 Filler or ATM Layer Cells
ICP
HEC/CRC Errored or Invalid ICP Cell
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
92
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.2.4.5
Delay Compensation Buffers
Since IMA must re-create the original cell stream in the proper order, delay compensation buffers (DCBs) are used to remove the differential delay between the links in a group. As cells arrive from each link, they are placed in that link's DCB. Links with the least transport delay will have the largest amount of data in the DCB, while links with the largest amount of transport delay will have the least amount of data in the DCB. At group start-up, all the links are compared to determine the link with the largest transport delay and the link with the least transport delay. The difference between these is the differential delay. Data is queued for all links until the corresponding data arrives for the link with the largest transport delay. Figure 15, shows a group with 3 links with a differential delay of 5 cells. Link 0 has the shortest transport delay and link 2 has the longest transport delay. Once the data has arrived for all of the links, it is played out to the ATM layer at the IDCC rate, thus keeping the depths of each DCB at a nominally constant level. (Depths are instantaneously effected by the presence of stuff cells and ICP cells, but these effects are transitory). Figure 15 - Snapshot of DCB Buffers
DCB Link 0 DCB Link 1 DCB Link 2
Write Pointer 0
19 16 13 10 7 Write Pointer 1 11 8 5 2 Write Pointer 2 6 3
Group Read Pointer
4 1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
93
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
When a group is already started, IMA supports the addition of links to the group. As illustrated by Figure 15, adding a link with a transport delay that is within the range of the existing links does not present any problems. The DCB for the new link must be aligned with the existing links and added to the round-robin for playout. Adding a link with a smaller transport delay increases the differential delay of the group. This requires that the depth of the DCB buffer be larger than any of the existing links. As long as the differential delay is within acceptable bounds, the new link can be accepted. The DCB for the new link is aligned with the existing links and added to the round-robin for playout. Figure 16 - Snapshot of DCB Buffers after addition of Link with smaller transport delay
DCB Link 0 DCB Link 1 DCB Link 2 DCB Link3
Write Pointer 3 36 Write Pointer 0 32 25 21 17 13 9 Group Read Pointer 5 1 Write Pointer 1 14 10 6 2 Write Pointer 2 7 3 28 24 20 16 12 8 4
Adding a link with a larger transport delay requires the DCB buffer depth to be smaller than the DCB for the link with the largest delay. If the desired DCB depth for the new link is less than 0, this means that the data for the other links has been played out prior to the arrival of data for the new link. This is shown in Figure 17. For the new link to be accepted, delay must be added to all other links in the group. When delay is added to the other links in the group, the playout of ATM cells is halted until enough delay is built up. This causes CDV for the group.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
94
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Once the delay has been added, the DCB for the new link can be aligned with the existing links and added to the round-robin for playout. Figure 18 shows the case after delay was added to the existing links within the group. The adding of delay to a group may be disabled. In this case, the new link would be rejected due to a LODS defect meaning that the DCB could not be aligned with the group. Figure 17 - Snapshot of DCB Buffers when trying to add Link with larger transport delay
DCB Link 0 DCB Link 1 DCB Link 2 DCB Link3
Write Pointer 0
25 21 17 13 9 Write Pointer 1 14 10 6 2 Write Pointer 2 7 3 Write Pointer 3
Group Read Pointer
5 1
-5
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
95
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 18
- Snapshot of DCB Buffers after delay adjustment
DCB Link 0 DCB Link 1 DCB Link 2 DCB Link3
Write Pointer 0
33 29 25 21 17 13 9 Write Pointer 1
22 18 14 10 6 2 Write Pointer 2
15 11 7 3
Write Pointer 3 8 4
Group Read Pointer
5 1
When links are deleted from a group, the DCB buffer depths of the remaining links are not effected. As shown in Figure 19, links 2 and 3 have been deleted from the group and the depth of the delay compensation buffers remain unchanged.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
96
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 19
- Snapshot of DCB Buffers after deletion of links from group
DCB Link 0 DCB Link 1 DCB Link 2 DCB Link3
Write Pointer 0
15 14 13 11 9 7 5 3 1 Write Pointer 1 Removed from group Removed from group
12 10 8 6 4 2
Group Read Pointer
10.2.4.6
IMA Link Error Handling
For IMA operation, the RDAT is responsible for detecting Loss of IMA Frame defects (LIF), Idle Cells on IMA Links, Loss of Cell Delineation defects (LCD), and DCB overruns/underruns that contribute to Loss of Delay Synchronization (LODS). This information is forwarded to the RIPP with the ICP messages for processing and reporting. 10.2.4.6.1 IMA Error/Maintenance State Machine (IESM)
A state machine is maintained for the LIF defect detection. This state machine is called the IMA Error/Maintenance State machine [IESM]. The state diagram for the IESM is shown in Figure 20. The RDAT maintains an IESM for each link. The LIF Defect state is the initial state for this process, thus all links will initially come up in the LIF condition.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
97
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 20
- IMA Error/Maintenance State Diagram
Leaving IMA Sync state Persistence of non-IMA Sync (+2) IMA frames
IMA Working State
Entering IMA Sync state
Out of IMA Frame (OIF) Anomaly State
LIF Defect
Persistence of IMA SYNC for at least 2 IMA frames
The IMA Working state enables the RDAT to write user cells to the DCB. If the IFSM leaves the IMA Sync state, the IESM state machine will transition to the OIF Anomaly state, and the OIF anomaly counter will be incremented. In the OIF Anomaly state, incoming user cells are written as filler cells to the DCB, and write pointers are incremented. If the IFSM does not return to the IMA Sync state within gamma + 2 frames, the IESM state will transition to the LIF Defect state. (Gamma is programmable, and is the same gamma used in the IFSM). If the IMA Sync state is entered prior to gamma + 2 frames, the IESM state will transition back to the IMA Working State. This is considered a "fast recovery" from the OIF Anomaly. In the LIF Defect state, incoming user cells are written as filler cells to the DCB, and write pointers are incremented. The LIF-latched status bit will be set in the link-context memory. The IESM state machine will transition to the IMA Working state when IMA Sync has been detected for two consecutive IMA frames. If the IMA Sync state is entered and then exited during LIF, then the OIF anomaly counter will be incremented. When the IESM enters the working state, user cells may be forwarded once again if an overrun (with respect to the configured depth for the link) is not detected. The overrun detection provides the necessary differential-delay checking required after a defect. 10.2.4.6.2 Loss of Cell Delineation Status (LCD)
LCD is detected by the TC layer and the information is passed to the RDAT. When a link is in LCD, a LCD-latched status bit is set in link context memory,
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
98
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
which is cleared by the ICP cell processing procedure. Cells received while the LCD latched status bit is set will be written to the DCB as filler cells, and the write pointers will be incremented. After an LCD condition is exited, the delay synchronization of the link must be rechecked and resynchronized. An LCD defect will cause the IFSM state machine to go into the hunt state to ensure the delay synchronization is rechecked. The transition of the IFSM into the hunt state will also cause an OIF anomaly. 10.2.4.6.3 DCB Overrun Status
When cells are written into the DCB, overruns will be checked by comparing the group read pointer against the link write pointer. If the difference between the pointers exceeds the maximum allowed DCB depth, then an overrun has been detected. For IMA, this will cause the overrun latched status-in-link context to be set. An overrun condition will not cause the IFSM to exit the sync state. All user cells will be dropped while the overrun condition persists. The overrun condition is reset at the reception of an ICP cell with an acceptable delay as long as the link is clear of LIF or OIF. For TC, an interrupt to the processor will be generated and normal operation will resume once the overrun condition has ended. 10.2.4.6.4 DCB Underrun Status
When cells are read from the DCB, underruns will be checked by comparing the group read pointer against the link write pointer. When an underrun is detected, all user cells will be dropped until the underrun condition is cleared. The underrun condition will only be cleared at the reception of an ICP cell, such that the differential delay may be re-checked. An underrun condition will not cause the IFSM to exit the sync state. 10.2.4.6.5 Idle Cells on IMA Links
When Idle cells are detected on an IMA link, they will be reported. Idle cells on IMA links may be present for two reasons. They may have been inserted at the ATM layer of the transmitter as a rudimentary method for traffic management; in which case the IMA layer should treat them as user cells. Otherwise, they may have been inserted at the TC layer to assist with rate matching; this is illegal for
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
99
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
IMA links. Idle cells will be treated as user cells by the RDAT for IMA processing and will not be dropped at the IMA sub-layer. 10.2.4.7 DCB Playout
The IDCC scheduler provides the rate for data to be played out to the ATM layer for an IMA group. For each cell to be played out, the IDCC generates a service request. Upon the IDCC service request, the RDAT plays out data from the FIFOs in a round-robin fashion. For each service request, the RDAT runs the round robin servicing until it processes either a filler cell or user cell. If ICP cells are encountered, the ICP cell is dropped and the servicing continues until a user or filler cell is found. If a user cell is found, it is transferred from the external memory to the appropriate group FIFO. If a filler cell is found, it is dropped. The RDAT is not sensitive to the alignment of ICP cells within a group. There is no performance degradation even if all of the ICP cells in a group have the same offset. If the device is in Any-PHY mode or UTOPIA L2 Single Port mode, there is only a single FIFO shared among all of the groups. The RDAT ensures that no more than 16 cells are stored in the shared FIFO for a single group. If the S/UNI-IMA84 is in UTOPIA L2 Multi-port mode, each group has its own FIFO. If the group FIFO is not emptied in a timely fashion, data is dropped; this is similar to the procedure used by any other PHY level device. The IDCC service request FIFO will always be serviced regardless of the state of the Group FIFO. For multi-port mode, if the respective Group FIFO is full, the cell will be dropped. In Any-PHY mode and UTOPIA L2 Single Port mode, if either the shared FIFO is full or there are already 16 cells for the current group in the FIFO, the cell will be dropped. 10.2.5 Receive IMA Protocol Processor (RIPP) The Receive IMA Protocol Processor (RIPP) block is responsible for maintaining and controlling the link and group state machines. The RIPP can accept commands from the management plane to initiate group and link state machine actions. The RIPP then controls the contents of ICP cells generated for the transmit data path, as well as analyzes the link and group states received within the ICP cells. The receive link and group states are utilized to maintain and update the link and group states. The RIPP coordinates group wide state transactions and performs the group wide procedures such as the Synchronized Link activation during Group Start-up Procedure and the Link Addition and Slow
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
100
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Recovery (LASR) procedure. When the links change state, the RIPP also coordinates the rate change between the round-robin procedures located in the receive and transmit data paths and their respective rate schedulers. Since failures are based upon the persistence of defects, the defects are detected and passed as interrupts/status to the management plane. PM is responsible for the integration of defects into failure conditions and to set the failure conditions in the S/UNI-IMA-84. Table 3 Command Add_group PM command description Description Starts up a group state machine and the link state machines for the links configured in the group. Group and links need to be configured prior to issuing this command. As a result of this command, the transmitter will start to send out IMA frames on the links specified as part of the group, and the receiver will start to look for and analyze ICP cells received on the links within the group. If a sufficient number of links are detected to be active, the group will transition to the operational state and start to transmit and receive ATM traffic. Remove an existing group and all its links immediately. This command will take the group state machine to the "not configured" state and all of the links in the group to the "not in group" state. The transmit links will cease to transmit IMA frames and will commence to transmit physical-layer idle cells until the links are reused. For group deletion without any loss of data, the links may be deleted or inhibited to stop traffic on the group or the group may be inhibited prior to deleting the group.
Delete_group
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
101
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Restart_group
Restart the specified group. When executed, the GSM goes back to "start-up" state and all tx links return to the "unusable" state and the Rx links return to the "unusable" state but report "Not in Group" since the LID is not yet validated. This command is intended to enable the change of parameters during the group start-up phase and to provide a local group reset for other conditions. Set the internal group inhibiting status flag. Once a group is considered inhibited, it will go to BLOCKED state instead of the OPERATIONAL state when sufficient links exist in the group. If the group is already in OPERATIONAL state when the command is issued, the GSM will go to BLOCKED state, and thus block the TX data path. However, the RX data path remains on.
Inhibit_group
Not_inhibit_group
Clear the internal group inhibiting status. If the group is currently in BLOCKED state, the GSM will go to OPERATIONAL state. Start LASR procedure on one or more links. The links involved may either be new links or existing links with a failure/fault/inhibiting condition. If the group configuration is symmetric, links should be added in both the TX and RX direction.
Start_LASR
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
102
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Delete_link
Remove one or more links from the group. If the group configuration is symmetric, links should be deleted in both the Tx and RX directions. When a Tx link is deleted, user traffic is no longer sent on the link and it's state is reported as "Not in Group", but IMA frames are still generated. When either a timeout expires or the FE Rx is detected to be no longer active, the deleted links stop generating IMA frames and start generating idle cells until the link is reused. When an Rx link is deleted, it's state is reported as "Not in Group", but traffic is still received and passed to the ATM layer, until the either a timeout expires or FE Tx state is detected to be no longer active. Data received after this point will no longer be forwarded to the ATM layer. The RX link is available for reuse after all the data accumulated in the DCB has been forwarded to the ATM layer. No data will be lost in the link deletion procedure unless the timeout occurs prior to the FE state change detection.
Set_rx_phy_defect
Indicate to S/UNI IMA-84 that the given link(s) have/have not physical defects (such as LOS/LOF/OOF/AIS) which are not detectable internally. This causes the S/UNI-IMA-84 to start reporting physical layer defects in the RX Defect Indication field in the ICP field for the affected links.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
103
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Unusable_link
Force Links to an unusable state and provide the cause. For Rx Links, if the cause is inhibited, the links are taken through the blocking state to preserve data sent prior the link being inhibited. If the cause is a fault or a failure condition, the link is taken directly to the UNUSABLE state. At this point, data would have already begun to be discarded due to the defects detected on the link. For Tx Links, data will stop being accepted on the Unusable links and IMA frames will be generated consisting of filler cells.
Update_test_ptn
Update the TX test pattern info to be sent in the outgoing ICP cells. This command is used to activate, deactivate, or change the test pattern that is being sent out on the Group.
Update_TX_TRL
Update the transmit TRL. When a TRL is changed, three steps are performed: (1) the TRL sent in the ICP cell is changed;(2) the TRL used for calculating the IDCC is changed, and (3) the TRL used in the stuffing algorithm is changed.
Read_event
Read and clear the latched event status, and read the link/group status of the specified group and all its links. The result read from the internal context memory is stored in Cmd_data00 through Cmd_data1F. Refer to RIPP Command Data Registers for further details.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
104
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Read_delay
Reads a snapshot of the link-defect status and link-delay information for all of the links within the group. The delay information can be used to determine differential delay, the link with the most delay, and any other delay characteristics of the group. The delay information is provided in units of cells. Adjusts the delay of a group by removing the amount of specified delay. While the delay is being adjusted, links cannot be added or recovered for the group.
Adjust_delay
In addition to performing commands from PM, the RIPP processes the ICP cells forwarded by the RDAT. When ICP cells arrive from a group, they may be out of order in time due to differential delay between links. The RIPP must examine the ICP cell and determine if it has any new information that needs processing. This can be determined via the IMA frame number and the SSCI field. When processing the ICP cells and the link states, attention must be taken not to violate the group wide procedures. When link or group states are changed, updated ICP cells are sent to the TIMA for transmission. Any state changes are also communicated to the appropriate schedulers and round-robin processors. 10.2.5.1 Group Start-up and Differential Delay
On group start-up, when at least Prx Links obtain IMA frame synchronization, the links will be evaluated. As each link is evaluated, the differential delay of the accepted links is tracked. If a link cannot be accepted because the acceptance of the link would violate the programmed maximum DCB threshold (fastest link minus current data read pointer), the link will remain in the unusable state and begin to report a LODS defect. Accepted links will begin to report a usable state. At this point, as additional links acquire frame sync, they are evaluated and either are accepted or begin to report an LODS defect. When all links have acquired frame sync or the timer has expired, the accepted receive links are reported as active. If at least Prx links have been accepted, the group state machine transitions to operational.. If sufficient links are not accepted, the group will not become operational. Note that within any collection of links that are targeted to form an IMA group the group may not become operational even though there are combinations of Prx links that meet the programmed maximum DCB threshold. This would occur in situations
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
105
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
where the internal algorithm used to determine link order may not select the combination or "tightest" grouping of links that would otherwise meet the programmed maximum DCB threshold. In this case, the relative delays of the links are available to PM using the read_delay command. The microprocessor can then analyze this information, remove the offending link or links and restart the group. 10.2.5.2 Link Addition and Differential Delay
Once a group is started, the delay profile for the group is determined. In order to add links, the delay on the new links must be compatible with the existing links in the group and be able to be synchronized with the existing links within the DCB constraints. There are two mechanisms regarding delay that can be used. The first method uses the guardband capability. At group start-up, a guardband is added to the link with the longest transport delay. This guardband results in additional delay to be queued in the DCBs for each link in the group. The guardband allows for links with a longer transport delay to be added in the future without introducing any additional CDV. The second method allows the delay accumulated per link to be increased dynamically. This method will introduce additional delay to all of the links within the group when a link with a larger transport delay is added to the group. The process of adding additional delay to the links within a group will cause additional CDV to be introduced when the playout of data is stopped while the delay is accumulated. The RIPP determines the delay of the links that are being added and performs the appropriate action to either include the link in the group or to reject the link if the link cannot be synchronized within the DCB constraints If a link is rejected due to delay, a LODS defect will be reported on the link. When links are deleted from the group, the delay of the remaining links is not adjusted. See 10.2.4.5 for more details on the management of the DCB buffers.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
106
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.2.5.3
Removing accumulated delay
In some situations, removal of accumulated delay may be desired. This usually occurs after a group has been operational for a period of time and the link characteristics in terms of transport delay have changed. The adjust_delay command is provided to remove delay from the group. The execution of this command will effect the CDV of the group while the delay is reduced. Any delay adjustment to the group will also effect the CDV of a connection carried on that group. This is additive, if 20 ms of delay is removed from the group, a particular connection within the group will experience an additional 20 ms of CDV. This will generally only be a concern to CBR or VBR-rt traffic flows. This increase in CDV may cause traffic to be policed out or real time applications to experience slips. To minimize the effect on the group traffic rate, while the delay is being reduced, the ATM cells from the group will be transferred to the ATM layer at a rate of (1+1/16)*IDCR versus IDCR. In other words, the group will playout data 6.25% faster to the ATM layer during the process of delay reduction. The amount of time the delay removal takes depends upon the amount of delay to be removed. For example, a group where 200 ms of delay is to be removed takes approximately 3 seconds for the process to complete. While delay adjustments are being made to a group, new links can not be added and links can not be recovered from an error state. The S/UNI-IMA-84 will reject any requests to start a LASR procedure. However, while delay adjustments are in progress, links can be deleted or made unusable. 10.2.5.4 Group Start-up Procedure
When the Add_Group Command is issued, the Group state machine will enter the start-up state and start to send IMA frames on the configured Tx links. 10.2.5.4.1 Start-up State
While in the start-up state, the configured tx link state machines will be reporting the Unusable state and the rx-link state machines will be reporting Not_In_Group. At this point, the S/UNI-IMA-84 will start to monitor the incoming ICP cells. When ICP cells are received with the FE indicating that the Group is in Start-up, the S/UNI-IMA-84 will transition to the Start-up-Ack state if the M value, the Group Symmetry, the OAM Label and IMA_ID (optional) values are acceptable. Otherwise, the S/UNI-IMA-84 will transition into the Config-Aborted State.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
107
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.2.5.4.2
Config-Aborted State
When entering the Config-Aborted State, a timer is started and an interrupt is generated. The S/UNI-IMA-84 will stay in the config aborted state until either: 1) The management plane restarts the group using the Restart_Group Command. The restart can be done with either the same parameters or with different parameters. 2) The config-abort timeout expires. 10.2.5.4.3 Start-up-Ack State
When entering the Start-up-Ack State, a timer is started. In the Start-up-Ack state, the S/UNI-IMA-84 waits for the FE to report the Start_Up_Ack state. If the timer expires prior to the FE-reporting Start_Up_Ack (or insufficient links, blocked, or operational states), the S/UNI-IMA-84 transitions back into the Start_Up state. Otherwise, when the FE reports Start-up-Ack, the S/UNI-IMA-84 transitions to the Insufficient Links state. 10.2.5.4.4 Insufficient Links
When in the Insufficient Links state, the Start_LASR command should be executed to start the LASR procedure to bring up additional links The LASR procedure starts two timers; one for the Tx links and one for the Rx links. When the LASR procedure is complete (all links become active or timeout), if sufficient links are active, the group state machine transitions into the Operational State unless the Group is Blocked. If sufficient links are not active after the LASR procedure completes, an interrupt is generated. Since links will only transition into the Active state via a LASR procedure, PM can activate a new LASR procedure with the same set of links and/or with additional links to bring up the group. 10.2.5.4.5 Blocked and Operational States
While in the Blocked and Operational States, the link state machines are monitored to ensure that sufficient links stay active. If insufficient links are
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
108
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
detected active, the Group state machine will transition into the insufficient links state and will stop accepting data from the ATM layer for transmission. 10.2.5.5 LASR Procedure
Links will only become active as part of the LASR procedure. The add_group command will automatically spawn a LASR procedure. To add links or recover links after group start-up, the Start_LASR command should be used. If an LASR procedure is in progress, additional Start_LASR commands will be rejected. 10.2.5.5.1 TX Links
When the LASR procedure starts, all Tx Links (participating in the LASR) in the unusable state or not_in_group state will immediately transition into the Usable state if they are not faulted or inhibited. (Note that the FE Rx Links may be reporting "Not in Group" at this point since their LIDs have not been validated). Links in other states will remain in the same state. If test patterns are to be transmitted on the links to test them prior to putting them in service, the Tx links should be configured to be brought up with the inhibited state set. This keeps the Tx links in the unusable state until they are released by a new LASR command (the PM_UNUSABLE status can only be cleared by a LASR). Once the Tx Links start to report the Usable state, a programmable timer is started. When either the timer expires or all of the FE Rx links report the active state, the acceptable Tx Links will transition to the Active state. This completes the LASR for the TX links. 10.2.5.5.2 Rx Links
During the LASR procedure, the LIDs for the receive links are validated. Until the LIDS are validated, the RX Links report the "Not in Group" state. As the LIDS are validated, the Rx Links start to report the unusable state. This transition is not synchronized with other links in the group. After all the receive links have their differential delay checked and have no defects (obtained IMA Frame sync) or a programmable timeout occurs, all of the accepted links will transition to the usable state. After the rx links are reported usable, another programmable timeout is started. Once all of the links are reported TX_Usable by the FE or the timeout expires,
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
109
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
the accepted links will start to report RX_Active. If operating in symmetrical mode, the TE Tx links must be in the usable/Active state in order for the accepted links to transition into RX_Active. If some additional links have become usable since the last timeout, they will skip directly from the unusable to the active state. This completes the LASR for the Rx Links. When the LASR for both the RX and TX links is complete, the LASR procedure is complete. If the LASR completes due to a timeout and not all of the links are in the active state, an interrupt will be generated (if enabled) to inform PM that the links were not brought to the active state. 10.2.5.6 Deactivating Links
Links may be brought down by either PM or by the far end. PM may declare a fault on a link, inhibit a link, or delete the link. The Far-end state changes may also cause the link to go down. This is the method of coordinating link deactivation between the NE and FE. 10.2.5.6.1 Far End link deactivation
If the FE Tx states transition into an unusable state, the NE Rx states go to the usable state and all data received prior to this point will be played out. If the FE Rx states transition into a not active state, the NE Tx link will transition into the usable state and stop transmitting data on that link. 10.2.5.6.2 Near End (management) link deactivation
If the NE Rx link is removed from the group, the S/UNI-IMA-84 will transition to the deleted state until all previously received data is played out to the ATM layer; at which point, it will deactivate itself and be removed from the round-robin. In absence of defects, the S/UNI-IMA-84 will bring down the link without loss of data. 10.2.5.7 Rate Changes
When the RIPP changes the state of a link to active, it programs the appropriate IDCC scheduler with the new rate. This is done by providing a vector that identifies the active LIDs for the group. This vector is used to determine the number of links for the rate calculation and is then passed on to the TIMA or
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
110
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT to indicate the LIDs to include in the round robin. The IDCC will only change its rate at IMA frame boundaries. 10.2.6 Support of IMA Test Pattern Procedure S/UNI-IMA-84 supports the IMA test pattern procedure in both the TX direction (NE initiated) and RX direction (FE initiated). In the TX direction, the S/UNI-IMA-84 updates the TX test control info and TX test pattern field in the outgoing ICP cells, as prompted by the relevant Update_test_ptn command. Meanwhile, the S/UNI-IMA-84 will always compare the RX test pattern field received in the incoming ICP cells with the TX test pattern value being transmitted, and save the result on a per-link basis in the group context memory. In the RX direction, the S/UNI-IMA-84 always analyzes the TX test control info field in the incoming ICP cells. If the test link command field is set to "active", the TX test pattern field in the incoming ICP cells on the selected link will be copied to the RX test pattern field in the outgoing ICP cells. Otherwise the RX test pattern field in the outgoing ICP cells will be filled with "0xFF". 10.2.7 Support of Symmetric/Asymmetric Operation Modes S/UNI-IMA-84 supports all three possible group symmetry modes: symmetric configuration and symmetric operation; symmetric configuration and asymmetric operation; asymmetric configuration and asymmetric operation. For symmetric configuration, the number of TX and RX links in the group must be the same; for asymmetric configuration, that restriction does not apply. The support for asymmetric/symmetric operation modes is part of the S/UNI-IMA functionality. The symmetric operation mode is treated as a special case of the asymmetric operation, where the TX and RX LSM on the same physical link are inter-dependent. 10.2.8 Support of Different IMA Versions It should be noted that the technique used to report RX information over the Link Information fields in the ICP cells when the group is configured in the symmetrical configuration and operation mode differs in the IMA v1.1 implementations and the IMA v1.0 implementations.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
111
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
The details of the differences between IMA v1.1 and IMA v1.0 can be found in appendix C of the ATM Forum IMA 1.1 specification.. The S/UNI-IMA-84 is primarily designed to be IMA v1.1 compliant. However, it may also be programmed to analyze the incoming ICP cells and generate outgoing ICP cells using IMA v1.0 style, given the group is symmetrically configured. IMA v1.0 is not supported for asymmetrical groups. Support of IMA V1.0 versus IMA v1.1 is selectable on a per-group basis. Since the rx link state is reported on the TX LID byte, the rx_link state is reported as unusable prior to LID validation unlike in IMA 1.1 where it is reported as "Not in Group" prior to LID validation. 10.2.9 SDRAM Interface The S/UNI-IMA-84 uses the external SDRAM to buffer queued cells. The cellbuffer SDRAM interface permits a single device, with 4M addressing capability, for a total of 8 Mbytes of storage. It has a 16-bit wide data bus, with CRC-16 checking applied on a per-cell basis. Each cell takes up 64 bytes of memory. The CRC-16 is applied to words 0 through 30. If an error occurs, an interrupt is sent to the microprocessor, and the cell is sent to the ATM layer anyway. The following diagram shows the cell storage map with the 64-byte memory boundary. Figure 21 - Cell Storage Map
Word # 15 Write Pointer + 0 1 2 3 4 5
Bits DCB Status[15:0] DCB Status[31:16]
0
Header1 Header3
Header2 Header4
Reserved STATUS Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
112
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
6 ... ... 28 29 30 31
Payload1
Payload2
Payload45 Payload47
Payload46 Payload48
Reserved CRC-16
The clock source drawn in Figure 22 and Figure 23 must be completely skew aligned between the S/UNI-IMA-84 and the SDRAM clock input pins. The following diagrams illustrate the various configurations supported: Figure 22 - 2 MByte
clock source SYSCLK CBCSB CBRASB CBCASB CBWEB CBBS[0] CBA[11:0] CBDQM CBDQ[15:0] 1 CKE CLK Addr/Ctrl 2 x 2k x 256 x 16 DQM DQ[15:0]
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
113
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 23
- 8 MByte
clock source SYSCLK CBCSB CBRASB CBCASB CBWEB CBBS[1:0] CBA[11:0] CBDQM CBDQ[15:0] 1 CKE CLK Addr/Ctrl 4 x 4k x 256 x 16 DQM DQ[15:0]
There are three processes, all of which are arbitrated by the SDRAM arbiter, that access the cell buffer SDRAM: 1. The RDAT, which reads and writes cell and status information. The granularity of access by the RDAT is a concatenated 1-cell write, 1-cell read. Either the write or the read may not be performed, depending on the RDATs requirements. 2. The microprocessor interface, which performs diagnostic reading or writing of 64 bytes of data. This data is aligned with the cell data. This access is allowed only when the SDRAM is placed in Diagnostic mode and is provided both to enable SDRAM testing and to initialize the SDRAM. While it is in diagnostic mode, all regular accesses from the RDAT are disabled 3. The refresh controller, which has a programmable refresh rate. The SDRAM interface will perform the initialization sequence for the SDRAM. This sequence is triggered by the SDRAM enable bit in the SDRAM control register. The sequence will program the SDRAM with a CAS latency of 3, sequential access, write burst mode, and a burst length of 8. Applications should ensure that sufficient time is provided between SDRAM power up and when this enable bit is set.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
114
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.3 Link FIFOs In the transmit direction, per link FIFOs exist to provide an elastic store to ensure proper operation. The number of cells in the FIFO at any particular time varies as a function of the CDV introduced by the insertion of stuff cells and ICP cells, the effects of the physical link interface, and the smoothing of data from the ATM layer for group level CDV. During operation, these FIFOs are loaded a cell at a time and emptied in a TDM fashion. The Link FIFOs in the transmit direction are to be 8 cells deep. In the receive direction, the link FIFOs serve as an interface between the TDM domain and the ATM cell domain. Cells are gathered in the FIFO for each link and then burst out to the external memory by the RDAT. The Link FIFOs in the receive direction are 2 cells deep. A diagnostic loopback capability is provided to loopback data from the receive link FIFOs to the transmit link FIFO; this will loopback all links when enabled. 10.4 TC Layer 10.4.1 TX TC Layer (TTTC) The TX TC layer (TTTC) performs the TC layer functions. These functions consist of optional HEC generation, optional payload scrambling, and cell-rate decoupling through physical layer (idle) cell insertion. This function removes data byte by byte from the per-link FIFOs as required to provide data to the physical layer function. When the physical layer function needs a byte of data, it will request data from the (TTTC). The TTTC will then read a byte of data from the per-link FIFO. If that byte is the first byte of a cell and the logical channel FIFO is empty, the TTTC will format the next 53 bytes as a physical layer (idle) cell. If the byte is the fifth byte of a cell, the byte is optionally overwritten by the CRC-8 calculation over the previous four bytes for rd 43 that logical channel. The sixth through 53 bytes may be scrambled by a x +1 self-synchronous scrambler. Note: Since the Link FIFOs are cell based, an underrun cannot happen in the middle of a cell.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
115
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.4.2 Rx TC Layer (RTTC) The Rx TC (RTTC) layer implements HCS cell delineation, payload descrambling, idle cell filtering and header error detection to recover valid ATM cells. These functions are performed in accordance with ITU-T Recommendation I.432.1. Cell delineation is the process of framing to ATM cell boundaries using the header check sequence (HCS) field found in the ATM cell header. The HCS is a CRC-8 (x8 + x2 + x + 1) calculation over the first 4 octets of the ATM cell header. In accordance with ITU-T Recommendation I.432.1, the coset polynomial x6 + x4 + x2 + 1 is added (modulo 2) to the received HCS octet before comparison with the calculated result. When performing delineation, correct HCS calculations are assumed to indicate cell boundaries. The cell delineation circuitry performs a sequential bit-by-bit hunt for a correct HCS sequence. This state is referred to as the HUNT state. When a correct HCS is found, a particular cell boundary is assumed and the PRESYNC state is entered. This state verifies that the previously detected HCS pattern was not a false indication. If the HCS pattern was a false indication, then an incorrect HCS should be received within the next DELTA cells and the delineation state machine falls back to the HUNT state. If an incorrect HCS is not found in this PRESYNC period, then a transition to the SYNC state is made, cell delineation is declared, and all non-idle cells with a correct HCS are passed on. In the SYNC state, synchronization is not relinquished until ALPHA consecutive incorrect HCS patterns are found. If this happens, a transition is made back to the HUNT state. The state diagram of the cell delineation process is shown in Figure 24.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
116
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 24
- Cell delineation State Diagram
The values of ALPHA and DELTA determine the robustness of the cell delineation method. ALPHA determines the robustness against false misalignments due to bit errors. DELTA determines the robustness against false delineation in the synchronization process. ALPHA is chosen to be 7 and DELTA is chosen to be 6. The loss of cell delineation (LCD) alarm is declared after a programmable threshold of incorrect cells occurs while in the HUNT state. The threshold is set by the LCD Count Threshold register. The threshold has a default value of 104, which translates to 28 ms at 1.55 Mbps. All idle cells may be filtered out and not passed to the IMA sub-layer. They are identified as cells containing all-zero VPI and VCI fields and a one in the CLP bit. Optionally, unassigned cells (like idle cells except CLP is a zero) may also be filtered. Note that these should not be filtered for IMA links.. All cells with an incorrect HCS octet may optionally be dropped. These cells can also be preserved and tagged as errored. Preservation of HEC errored cells is required for correct operation of IMA. Failure to preserve the cells will lead to increased numbers of OIF violations and data misordering. Header correction is not implemented. For IMA operation, there are two unique features: the first is optionally passing cells with errored HEC; the second results in passing cells during OCD and LCD.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
117
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
This is to enable the IMA to perform a fast recovery from error conditions. An OCD event will result in a loss of IMA frame sync to ensure differential delay checking is performed. 10.5 Line Side Physical Layer The S/UNI-IMA-84 must be configured to support one of either the SBI interface or the 32 Clock and Data interface. 10.5.1 TX Clock/Data (TCAS) The S/UNI-IMA-84 supports up to 32 2-pin Clock/Data serial interfaces to interface with standard framers. Each link is independent and has its own associated clock. To enable easier support of CTC, a common clock is also supported using the CTSCLK pin. The S/UNI-IMA-84 responds to the active edge of each transmit clock by generating a single bit. When the external framer needs to insert transmission overhead (such as framing bits) into the data stream provided by the S/UNI-IMA-84, the framer is required to gap the transmit clock provided to the S/UNI-IMA-84. This will prevent the S/UNI-IMA-84 from outputting data bits during the overhead bit period(s). The Transmit Channel Assigner block (TCAS) processes up to 32 virtual links. Data for all links is sourced from a single byte-serial stream from the TC layer. For each link, the TCAS provides a holding register. The TCAS also performs parallel-to-serial conversion to form a bit-serial stream. When multiple links are in need of data, TCAS requests data from upstream blocks on a fixed priority basis with link TSDATA[0] having the highest priority and link TSDATA[31] the lowest. Links containing a T1 or an E1 stream may be channelized. Data at each timeslot may be assigned either: (1) to be sourced from the virtual link or (2) to be unassigned. This mechanism of assigning timeslots enables support of fractional links. The link clock should only be active during time-slots 1 to 24 of a T1 stream and inactive during the frame bit. Similarly, the clock is only active during timeslots 1 to 31 of an E1 stream and inactive during the framing byte. The first bit of time-slot 1 of a channelized link is identified by noting the absence of the clock and its re-activation. With knowledge of the transmit link and time-slot identity, the TCAS performs a table look-up to identify which timeslots are in use. Links may also be unchannelized. In that case, all data bytes on that link belong to the virtual link. The TCAS performs a table look-up to identify the link to which
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
118
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
a data byte belongs using only the outgoing link identity, as no time-slots are associated with unchannelized links. The link clock is only active during bit-times containing data to be transmitted; it is inactive during bit-times that are to be ignored by the downstream devices, such as framing and overhead bits. 10.5.2 TX Null Framer (SDFR84) Since data is carried over the SBI bus in a framed format, the ATM payload must be mapped into the appropriate T1, E1, or DS3 format. The Null Framer creates bit streams with the appropriate number of bits without performing the actual framing bit generation or signaling insertion. For T1, a T1 frame is created by adding a bit as a placeholder for the framing bit and the ATM data is mapped into the 24 DS0 channels. For E1, placeholders are inserted for channels 0 and 16, which are reserved for signaling, and ATM data is mapped into the remaining 30 channels. (Channels 1 through 15 and 17 through 31). For DS3, a bit is inserted every 21 nibbles for the frame/sub-frame bits. 10.5.3 Insert Scaleable Bandwidth Interconnect (INSBI) The Insert Scaleable Bandwidth Interconnect block maps up to eighty-four T1(1.544 Mbp)s links, sixty-three E1 (2.048 Mbps) links, or three DS3 (44.736 Mbps) links into the SBI bus. The 1.544 Mbps links are T1 framed (channelized) with null framing bits. The 2.048 Mbps links are E1 framed (channelized) with null framing bytes. The 44.736 Mbps links are also framed DS3 with null framing bits. All links sourced from the S/UNI-IMA-84 over the SBI bus must be framed prior to transmission. Links inserted into the SBI bus are timed from the framer device (e.g. PM8315 TEMUX, PM8316 TEMUX-84). In other words, the INSBI always acts as a clock slave. The INSBI performs SBI tributary justifications under command from the AJUST_REQ signal.. 10.5.4 Extract Scaleable Bandwidth Interconnect (EXSBI) The Extract Scaleable Bandwidth Interconnect (EXSBI)block demaps up to 84 T1 (1.544 Mbps) links, 63 E1 (2.048 Mbps) links, or up to 3 DS3 (44.736 Mbps) links from the SBI bus. The 1.544 Mbps links must be T1 framed and channelized. The
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
119
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
2.048 Mbps links must be E1 framed and channelized. The 44.736 Mbps must also be framed. All egress links extracted from the SBI bus are timed from the source. Within the SBI bus, there are three SPEs. Each SPE can either 28 T1s, 21 E1s, or 1 DS3 and all of the links within an SPE are of the same type. Since the EXSBI always acts as a clock slave in this application, the link rates of are derived by the data arrival rate. The S/UNI-IMA-84 is capable of sinking all data received the SBI bus without generating overflows. 10.5.5 RX DeFramer (SDDF84) Since data is transferred over the SBI bus in a framed format and S/UNI-IMA-84 does not process signaling or check any framing patterns, the framing bits are removed from the T1 and DS3 signals and data is forwarded to the TC function in a byte parallel interface. For T1, the framing bit is removed. For E1, bytes 0 and 16 of the Channelized E1 frame are removed since they do not carry valid ATM payload. For DS3, one framing bit is removed for every 21 nibbles. 10.5.6 Rx Clock/Data (RCAS) The S/UNI-IMA-84 provides up to 32 2-pin Clock/Data serial interfaces for interconnecting to T1/E1 framers. Each link is independent and has its own associated clock. For each link, the data is sent through a serial to parallel conversion to form data bytes. The data bytes are multiplexed, in byte serial format, for delivery to the TC layer. In the event where multiple streams have accumulated a byte of data, multiplexing is performed on a fixed priority basis, with link #0 having the highest priority and link #31 the lowest. For the clock and data interface, the framer must gap the clock for all framing bits for T1 and for the framing byte for E0. Links containing a T1 or an E1 stream may be channelized. For channelized links, the link clock is only active during time-slots 1 to 24 of a T1 stream; it is inactive during the frame bit. Similarly, the clock is only active during time-slots 1 to 31 of an E1 stream and inactive during the framing bytes. Each time-slot may
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
120
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
be independently configured to be provisioned (contain valid data) or unprovisioned. The RCAS performs a table lookup to assign the provisioned time-slots to a virtual link. After the selected timeslots are grouped into a virtual link, virtual links are referred to as links. This look-up should be used to remove byte 16 of the E1 frame, since byte 16 contains signaling data not ATM data and is also used to implement a fractional T1 or E1. The first bit of time-slot 1 of a channelized link is identified by noting the absence of the clock and its reactivation. Links may also be unchannelized. In this mode, all data is assumed to be valid ATM data. The link clock is only active during bit times containing data to be processed and inactive during bits that are to be ignored by the RCAS, such as framing and overhead bits. The RCAS provides diagnostic line-side loopback that is selectable on a perchannel basis. When a channel is in diagnostic loopback, data on the received links originally destined for that channel is ignored. Transmit data of that channel is substituted in its place. 10.6 Microprocessor Interface The Microprocessor Interface Block provides the interrupt logic and an interface to normal-mode registers contained within the design blocks. The normal mode registers are required for normal operation. 10.6.1 Mapping and link identification Within the clock/data interface, the external links are mapped to a contiguous space identified as Virtual Links. To support multiple fractional TC flows on a single external signal, a mapping is used to split a single channelized external signal into multiple Virtual Links. At the per-link FIFOs, the clock/data Virtual Link naming convention is replaced 1:1 with the Physical Link naming convention. The S/UNI-IMA-84 processes 84 Physical Links, numbered 0 to 83. Each line interface uses a different Link naming convention, based on the nature of the interface: the SBI Interface uses three SPEs, each carrying 28 Tributaries, and the Clock and Data Interface uses 32 External Signal pins, which are mapped to 84 Virtual Links. In both cases, the 84 streams to/from the line interfaces are referred to a Physical Links elsewhere inside the device.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
121
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
10.6.1.1
SBI
Within the SBI Interface, the links are identified by the SPE and the tributary number within the SPE. At the per-link FIFOs, the SPE and Tributary number are mapped to a contiguous space identified as physical links 0 through 83. These are referred to as the physical link IDs. SPE1, Tributaries 1 to 28 are mapped to physical links 0-27. SPE2, Tributaries 1 to 28 are mapped to physical links 28 to 55; and SPE3, Tributaries 1 to 28 are mapped to physical links 56 to 83. If the SPEs are in E1 mode, then only the lowest 21 of the 28 possible tributaries are used. If the SPEs are in DS3 mode, only one link per SPE is mapped. In this case, only physical link IDs 0, 28, and 56 are used. 10.6.1.2 Clock/Data
Within the Clock and Data Interface, the external signals RSCLK/TSCLK and RSDATA/TSDATA are identified by sequential numbers from 0 to 31. Within the RCAS/TCAS, these 32 external signals are mapped to a contiguous space identified as Virtual Links 0 through 83. To support multiple fractional TC flows on a single external signal, RCAS/TCAS mapping is used to split a single channelized external signal into multiple Virtual Links. At the per-link FIFOs, the RCAS/TCAS Virtual Link naming convention is replaced 1:1 with the Physical Link naming convention. 10.6.1.3 IMA
Within the IMA sublayer, mapping is performed between the physical link Ids and the Any-PHY/UTOPIA L2 virtual PHY address. This mapping can be a one-to-one relationship as for TC connections or it may be a many-to-one relationship as for an IMA group. The physical link to Virtual PHY mapping is independent in the RX and TX directions. The selection of the RX VPHY ID in Any-PHY or single port UTOPIA L2 mode is unconstrained as this ID exists only as a prepend. In multiple port UTOPIA L2 mode, the RX VPHY ID must be a unique value between 0 and 30 for each flow. * The selection of the TX VPHY ID is limited by the following rule:
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
122
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
*
All groups must have a unique value between 0 and 83.(0 to 30 for UTOPIA L2 mode).
Note: The actual address used on the Any-PHY bus to access a particular channel is a combination of the TX VPHY ID (bits 6:0) and the Tx Any-PHY Address Config Reg(bits 15:7). 10.6.2 Interrupt Driven Error/Status Reporting The interrupt logic has several layers. The top layer of the interrupt logic, the Master Interrupt Register, indicates from which block the interrupt came. Once the block is determined the processor can access the appropriate block to determine the interrupt cause. 10.6.2.1 Line Interface Interrupts
The Line Interface sources three interrupts: SBI_DROP_INTR, SBI_ADD_INTR, and SBI_ALARM_INTR. The SBI_DROP_INTR indicates there is an interrupt pending related to the SBI-Drop bus, also known as the Extract SBI bus. The Extract Master Interrupt Status Register needs to be read to determine the cause of the interrupt. The SBI_ADD_INTR indicates there is an interrupt pending related to the SBI-Add bus, also known as the Insert SBI bus. The Insert Master Interrupt Status Register needs to be read to determine the cause of the interrupt. The SBI_ALARM_INTR indicates that an alarm was detected on a link from the SBI. The SBI Alarm Interrupt registers will identify which link failed. 10.6.2.2 TC Layer Interrupts
The TC layer sources 4 different interrupts that are reported through a FIFO structure. As each interrupt occurs it is placed into a FIFO along with a Link Identifier to uniquely identify the link. The error conditions reported through this structure include HEC Errors, Loss of Cell Delineation (LCD) state change, Out of Cell Delineation (OCD) state change, and Receive Link FIFO overflow. To determine the actual states of LCD and OCD it is necessary to query the individual link status. If this FIFO overflows, it is necessary to query the status of all links in order to retrieve accurate state information. 10.6.2.3 IMA Interrupts
The IMA sub-layer sources four interrupts: RIPP_INTR, TIMA_INTR, RDAT_INTR, and ICP_CELL_AVL. The RIPP_INTR indicates that either a status
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
123
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
change or an error occurred on an IMA group. The RIPP Interrupt status FIFO contains the groups that have enabled conditions active. The RIPP Interrupt status FIFO is managed so that each group will only ever have a single entry in the FIFO. To facilitate interrupt processing, a RIPP command is provided to gather all interrupts and status for a group and all of the links within the group in one snapshot. TIMA_INTR provides information that a link FIFO has overflowed. During normal operations, this will only happen when: (1) the TIMA is misconfigured or (2) the rate difference between the clocks in an IMA group is greater than the maximum tolerance. To determine which link has experienced a problem, the TIMA Link FIFO Overflow Status registers should be read. RDAT_INTR indicates either: (1) that cells were dropped due to AnyPHY/UTOPIA congestion or (2) that TC group cells were dropped due to FIFO overflow. To determine the cause of the interrupt, the RDAT Master Interrupt register should be read. ICP_CELL_AVL indicates that an ICP cell is available in the ICP cell buffer. To enable diagnostics, the capability to forward a group's ICP cells to the microprocessor is provided. When a cell is forwarded to the microprocessor, it is placed in the ICP cell buffer and the interrupt is triggered. As new ICP cells arrive, they overwrite the ICP cell buffer unless the buffer is locked for reading. Once the ICP cell buffer is locked, further ICP cells will not be forwarded until the ICP cell buffer is unlocked. This trace can be enabled on a per-group basis. 10.6.2.4 Miscellaneous Interrupts
MISC_INTR indicates that an interrupt condition exists in the Miscellaneous Interrupt register. These bits are read-and-clear and usually indicate that transitory conditions have occurred, such as parity errors, SDRAM CRC errors, interrupt FIFO overflows, and UTOPIA L2 interface errors. 10.6.3 Registers The Register Memory Map in Table 4 shows where the normal mode registers are accessed. The resulting register organization is split into sections: Master configuration registers, TC Layer, SBI Interface, Clock/Data Interface and IMA Sublayer registers. On power up, the S/UNI-IMA-84 requires configuration. For proper operation, register configuration is necessary in order to program addresses for the Any-
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
124
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
PHY ports, enable the SDRAM, configure the Line interface and chose IMA or TC mode for each link/group. By default, interrupts will not be enabled. The Line-side-access defaults to a disabled state; this results in all line side output pins being tristated. When the line mode is chosen, SBI, or Clock/Data, the pins will be enabled. Table 4 Address 0x000 - 0x05E 0x000 0x002 0x004 0x006 0x008 0x00A 0x00C 0x00E 0x010 0x012 0x014 0x0160x01E 0x020 0x022 0x024 0x026 0x028 Register Memory Map Register Master Configuration and Interrupts Global Reset Global Configuration JTAG ID (MSB) JTAG ID (LSB) Master Interrupt Register Miscellaneous Interrupt Register RTTC Interrupt FIFO Reserved Master Interrupt Enable Register Miscellaneous Interrupt Enable Register TC Interrupt Enable Register Reserved Transmit Any-PHY/UTOPIA Cell Available Enable Receive UTOPIA Cell Available Enable Receive Any-PHY/UTOPIA Config Register (RXAPS_CFG) Transmit Any-PHY/UTOPIA Config Register (TXAPS_CFG) Transmit Any-PHY Address Config Register (TXAPS_ADD_CFG)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
125
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Address 0x02A0x03E 0x040 0x042 0x044 0x046 0x048 0x04A 0x04C 0x04E 0x050 0x0520x05E 0x0600x07E 0x060 0x062 0x0640x06E 0x070 0x072 0x074 0x076 0x078 0x07A0x07E 0x0800x0FE 0x080
Register Reserved SDRAM Configuration SDRAM Diagnostics SDRAM Diag Burst RAM Indirect Access SDRAM Diag Indirect Burst Ram Data LSB SDRAM Diag Indirect Burst Ram Data MSB SDRAM DIAG WRITE CMD 1 SDRAM DIAG WRITE CMD 2 SDRAM DIAG READ CMD 1 SDRAM DIAG READ CMD 2 Reserved TC Layer TTTC Indirect Link Control Register TTTC Indirect Link Configuration Register TTTC Reserved RTTC Indirect Link Control Register RTTC Indirect Link Configuration Register RTTC Indirect Link Interrupt and Status Register RTTC Indirect Link HCS Error Count Register LCD Count Threshold Reserved SBI Interface SBI Bus Configuration
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
126
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Address 0x082 0x0840x08E 0x0900x09A 0x09C0x09E 0x0A0 0x0A2 0x0A4 0x0A6 0x0A8 0x0AA 0x0AC 0x0AE 0x0B00x0BA 0x0BC 0x0BE 0x0C0 0x0C2 0x0C4 0x0C6 0x0C8 0x0CA
Register Reserved SBI Extract Bus Alarm Interrupt Registers SBI Extract Bus Alarm Status Registers SBI Reserved SBI Extract Control Register SBI Extract FIFO Underrun Interrupt Status Register SBI Extract FIFO Overrun Interrupt Status Register SBI Extract Tributary RAM Indirect Access Address Register SBI Extract Tributary RAM Indirect Access Control Register Reserved SBI Extract Tributary Control RAM Indirect Access Data Register SBI Extract Parity Error Interrupt Reason Register Reserved SBI Extract Depth Check Interrupt Status Register SBI Extract Master Interrupt Status Register SBI Insert Control Register SBI Insert FIFO Underrun Interrupt Status Register SBI Insert FIFO Overrun Interrupt Status Register SBI Insert Tributary Register Indirect Access Address Register SBI Insert Tributary Register Indirect Access Control Register Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
127
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Address 0x0CC 0x0CE0x0E0 0x0E2 0x0E4 0x0E60x0FE 0x1000x1FE 0x100 0x102 0x104 0x106 0x108 - 0x13E 0x140 - 0x17E 0x180 0x182 0x184 0x186 0x188 0x18A - 0x1BE 0x1C0 - 0x1FE 0x2000x3FE 0x200
Register SBI Insert Tributary Control Indirect Access Data Register Reserved SBI Insert Depth Check Reset Interrupt Status Register SBI Insert Master Interrupt Status Register Reserved Clock/Data Interface RCAS Indirect Link and Time-slot Select RCAS Indirect Channel Data RCAS Framing Bit Threshold RCAS Channel Disable RCAS Reserved RCAS Link #0 to Link #31 Configuration TCAS Indirect Link and Time-slot Select TCAS Indirect Channel Data TCAS Framing Bit Threshold TCAS Idle Time-slot Fill Data TCAS Channel Disable Register TCAS Reserved TCAS Link #0 to Link #31 Configuration IMA Sublayer RIPP Control
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
128
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Address 0x202 0x2040x206 0x208 0x20C 0x20E 0x210 0x212 0x214 0x216 0x218 0x21A 0x21C 0x2200x22C 0x22E 0x230 0X232 0x2400x29E 0x2C00x2DE 0x300 0x302 0x304 0x306 0x308 0x30A
Register RIPP Indirect Memory Access Control RIPP Indirect Memory Data Register Array Delay Configuration Register RIPP Timer Tick Configuration Register Group Timeout Register #1 Group Timeout Register #2 Tx Link Timeout Register Rx Link Timeout Register RIPP Interrupt Status Register RIPP Group Interrupt Enable Register RIPP Tx Link Interrupt Enable Register RIPP Rx Link Interrupt Enable Register RIPP Command Register Command Read Data Control Register ICP Cell Forwarding Status Register ICP Cell Forwarding Control Register RIPP Command Data Register Array Forwarding ICP Cell Buffer RDAT Indirect Memory Command RDAT Indirect Memory Address RDAT Indirect Memory Data LSB RDAT Indirect Memory Data MSB RDAT Configuration Receive ATM Congestion Status LSB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
129
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Address 0x30C 0x30E 0x310 0x312 0x314 0x316 0x3180x31E 0x320 0x322 0x324 0x326 0x3280x332 0x340 0x342 0x3440x34E 0x350 0x352 0x3540x364 0x366 0x3680x3FF
Register Receive ATM Congestion Status MSB Receive TC Overrun Status RDAT Master interrupt Status Receive ATM Congestion Interrupt Enable LSB Receive ATM Congestion Interrupt Enable MSB RDAT Master Interrupt Enable Reserved TIMA Indirect Memory Command TIMA Indirect Memory Address TIMA Indirect Memory Data LSB TIMA Indirect Memory Data MSB TX Link FIFO Overflow Status TXIDCC Indirect Link Access TXIDCC Indirect Link Data Register #1 Reserved RXIDCC Indirect Link Access RXIDCC Indirect Link Data Register #1 Reserved DLL Control Status Reserved
For all register accesses, CSB must be low.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
130
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11
NORMAL MODE REGISTER DESCRIPTION Normal mode registers are used to configure and monitor the operation of the S/UNI-IMA-84. Normal mode registers (as opposed to test mode registers) are selected when A[10] is low. Notes on Normal Mode Register Bits:
1. Writing values into unused register bits has no effect. However, to ensure software compatibility with future, feature-enhanced versions of the product, unused register bits must be written with logic zero. Reading back unused bits can produce either a logic one or a logic zero; hence, unused register bits should be masked off by software when read. 2. All configuration bits that can be written into can also be read back. This allows the processor controlling the S/UNI-IMA-84 to determine the programming state of the block. 3. Writeable normal mode register bits are cleared to logic zero upon reset unless otherwise noted. 4. Writing into read-only normal mode register bit locations does not affect S/UNI-IMA84 operation unless otherwise noted. 5. Certain register bits are reserved. These bits are associated with megacell functions that are unused in this application. To ensure that the S/UNI-IMA-84 operates as intended, reserved-register bits must only be written with logic zero. Similarly, writing to reserved registers should be avoided.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
131
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.1 Global Registers Register 0x000: Global Reset Bit 15 14 13:7 6:4 3:0 ID[3:0]: The ID bits can be read to provide a binary number indicating the S/UNI-IMA84 feature version. These bits are incremented only if features are added in a revision of the chip. TYPE[2:0]: The TYPE bits can be read to distinguish the S/UNI-IMA-84 from the other members of the S/UNI-IMA-84 family of devices. The S/UNI-IMA-84 is identified by a value of "001". BIST_DONE The BIST_DONE indicates when the internal ram initialization is complete. Once the ram initialization is complete, the internal rams may be accessed. Prior to BIST_DONE transitioning to a "1", any internal ram accesses are ignored. RESET: The RESET bit implements a software reset for the entire S/UNI-IMA-84. If the RESET bit is a logic 1, the entire S/UNI-IMA-84 is held in reset except for the microprocessor interface. While in reset, the only register that is accessible is the Global Reset register. This bit is not self-clearing; therefore, a logic 0 must be written to bring the S/UNI-IMA-84 out of reset. Holding the S/UNI-IMA-84 in a reset state effectively puts it into a low power, stand-by mode. A hardware reset sets the RESET bit, thus asserting the software reset. RO RO Type R/W RO Function RESET BIST_DONE Unused TYPE[2:0] ID[3:0] Default 1 X 0 001 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
132
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x002: Global Configuration Bit 15:8 7 6 5 4 3 2 1:0 R/W R/W R/W R/W R/W R/W R/W Type Function Unused CHAN_CD MAX_DCB_DEPT H CTSCLK_SEL LINE_EN LINE_LOOP U2U_LOOP LINE_MODE[1:0] Default 0 0 0 0 0 0 0 0
LINE_MODE[1:0] Enables the selected line interface mode. 00) Disabled (All line Interface signals are tristated.) 01) SBI Mode 10) Clock/Data Mode 11) Reserved U2U_LOOP When set, all cells received by the Any-PHY/UTOPIA Interface are sent back out to the Any-PHY/UTOPIA (regardless of single- or multi-addressing mode). For proper operation, if the Receive interface is in multi address UTOPIA mode, the Transmit Interface must also be in UTOPIA Mode. 0) Any-PHY/UTOPIA in normal mode 1) Any-PHY/UTOPIA in remote loopback mode LINE_LOOP When set, all cells received by the SBI or Clock/Data interfaces are sent back out to the SBI or Clock/Data 0) Line Side in normal mode 1) Line Side remote loopback mode
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
133
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
LINE_EN When LINE_EN is set, line side traffic flow is enabled. This configuration bit should be written to a one after the LINE_MODE has been configured and prior to normal operation. CTSCLK_SEL When CTSCLK_SEL is set and LINE_MODE="10", the CTSCLK pin is used as the clock for all Transmit Serial Line Clocks. When CTSCLK_SEL is not set and LINE_MODE="10", the TSCLK[31:0] pins are used for all Transmit Serial Line Clocks When LINE_MODE=01, CTSCLK_SEL is ignored. MAX_DCB_DEPTH: This indicates the number of cells that can be stored for a single link in the external SDRAM. This determines the number of bits the RDAT will use for the read and write pointers. To ensure correct operation, the user must ensure that the proper amount of SDRAM is available. See Figure 10 for details. 0) 256 cells per link 1) 1024 cells per link CHAN_CD: This indicates that the channelized cell delineation may be used. Channelized cell delineation results in faster cell delineation since an octet by octet search is performed instead of a bit by bit search. A nibble by nibble search is performed if the SPE is in DS3 mode. This option may only be used when operating with a channelized interface such as the SBI interface or the clk/data interface in channelized mode. If any links are operating in unchannelized mode, this bit may not be set. 0) Use bit by bit search for cell delineation. (Safe mode) 1) Use octet or nibble search for cell delineation (only should be set if operating with channelized line interface for all links
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
134
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x004: JTAG ID (MSB) Bit 15:0 Type RO Function JTAGID(31:16) Default 0x0734
JTAGID[31:16]: The JTAG ID register (JTAGID[31:16]) of the S/UNI-IMA-84 device. The JTAG ID is the same as the one read by the JTAG port.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
135
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x006: JTAG ID (LSB) Bit 15:0 Type RO Function JTAGID(15:0) Default 0x10CD
JTAGID[15:0]: The JTAG ID register (JTAGID[15:0]) of the S/UNI-IMA-84 device. The JTAG ID is the same as the one read by the JTAG port.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
136
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.2 Master Interrupt Registers Register 0x008: Master Interrupt Register Bit 15:9 8 7 6 5 4 3 2 1 0 Type RO RO RO RO RO RO RO RO RO RO Function Unused TC_INTR MISC_INT SBI_ALARM SBI_DROP_INTR SBI_ADD_INTR ICP_CELL_AVL RDAT_INTR TIMA_INTR RIPP_INTR Default 0 0 0 0 0 0 0 0 0 0
This register is the top of the Interrupt Tree. It indicates which lower level interrupt registers have interrupts pending. Note that the respective bits will remain set as long as the underlying condition remains active. RIPP_INTR When set, there is an interrupt pending from the RIPP block. Read the RIPP_INTR_FIFO located in Register 0x216 to determine the group which caused the interrupt. This bit indicates current status and will clear only when RIPP_INTR_FIFO is empty. On read: 0) No interrupt pending from the RIPP block. 1) Interrupt pending from the RIPP block. TIMA_INTR When set, there is an interrupt pending from the TIMA block. Read the TIMA_OVERFLOW_REGs located in registers 0x328-0x332 to determine the cause of the interrupt. This bit indicates current status and will clear only when no interrupt conditions remain in TIMA_OVERFLOW_REG. On read: 0) No interrupt pending from the TIMA block. 1) Interrupt pending from the TIMA block.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
137
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT_INTR When set, there is an interrupt pending from the RDAT block. Read the RDAT_INTR_STATUS_REG located in register 0x310 to determine the cause of the interrupt. This bit indicates current status and will clear only when no interrupt conditions remain in RDAT_INTR_STATUS_REG. On read: 0) No interrupt pending from the RDAT block. 1) Interrupt pending from the RDAT block. ICP_CELL_AVL When set, it indicates that a new ICP Cell is available in the ICP cell buffer. The ICP cell buffer can be used to extract ICP cells for a group. This bit is cleared when register 0x230 ICP Cell Forwarding Status is read. 0) No ICP cell is available. 1) An ICP cell is available in the ICP buffer. SBI_ADD_INTR When set, it indicates that an interrupt is pending related to the SBI-Add Bus (also known as the Insert SBI bus). Read the Insert Master Interrupt Status Register (Register "0x0E4") to find the cause of the interrupt. This bit indicates current status and will clear only when no interrupt conditions remain in the Insert Master Interrupt Status Register. On read: 0) No SBI Add Bus interrupt pending. 1) SBI Add Bus interrupt is pending. SBI_DROP_INTR When set, it indicates that an interrupt is pending related to the SBI-Drop Bus, also known as the Extract SBI bus. Read the Extract Master Interrupt Status Register (Register 0x0BE) to find the cause of the interrupt. This bit indicates current status and will clear only when no interrupt conditions remain in the Extract Master Interrupt Status Register. On read: 0) No SBI Drop Bus interrupt pending 1) SBI Drop Bus interrupt is pending SBI_ALARM When set, it indicates that an interrupt is pending in one of the 0x084-0x08E: SBI Extract Alarm Interrupt Registers located at 0x084-0x08E. registers. This bit indicates current status, and will clear only when no interrupt conditions exist in either SBI alarm registers. On read: 0) No SBI alarm pending 1) SBI alarm pending
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
138
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
MISC_INTR When set, it indicates that an interrupt is pending in the Miscellaneous Interrupt Register located in register 0x00A. This bit indicates current status, and will clear only when no interrupt conditions exist in the Miscellaneous Interrupt register. On read: 0) No Miscellaneous interrupt pending 1) Miscellaneous interrupt pending TC_INTR When set, indicates that a TC layer is pending in the TC_INTR_FIFO. This bit indicates current status and will clear only when the TC_INTR_FIFO is empty. 0) No TC Interrupts in the TC_INTR FIFO. 1) TC Interrupts are present in the TC_INTR_FIFO.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
139
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x00A: Miscellaneous Interrupt Register Bit 15:5 4 3 2 1 0 Type R2C R2C R2C R2C R2C R2C Function Reserved Default 0
TC_INTR_FOVR_ER 0 R SDRAM_CRC_ERR 0 TX_UTOP_CELLXFE 0 RR TX_UTOP_PAR_ER R RX_UTOP_XFR_ER R 0 0
This register collects the miscellaneous interrupts. These interrupt bits are cleared on read. If any bit in this register is set and is enabled, the MISC_INT bit will be set in the Master Interrupt register. RX_UTOP_XFR_ERR When set, it indicates that the Receive Any-PHY/UTOPIA Interface was requested to send a cell when it did not have one available. This condition is a protocol error in the Receive Any-PHY/UTOPIA bus. This bit is cleared on read. 0) No protocol error occurred. 1) The Rx Any-PHY/UTOPIA interface was requested to send a cell when a cell was not available. TX_UTOP_PAR_ERR When set, it indicates that the Transmit ANY-PHY/UTOPIA Interface experienced a parity error. This bit is cleared on read. 0) No parity error occurred on the TX ANY-PHY/UTOPIA interface. 1) A parity error occurred on the TX ANY-PHY/UTOPIA interface.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
140
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
TX_UTOP_CELLXFERR When set, it indicates that the Transmit ANY-PHY/UTOPIA Interface experienced an unexpected start of cell in the middle of a cell transfer. This bit is cleared on read. 0) No cell transfer error occurred on the TX ANY-PHY/UTOPIA interface. 1) A cell transfer error occurred on the TX ANY-PHY/UTOPIA interface. SDRAM_CRC_ERR When set, it indicates that a SDRAM CRC Error occurred when a cell buffer was read from SDRAM. This bit is cleared on read. 0) No SDRAM CRC error occurred. 1) SDRAM CRC error occurred. TC_INTR_FOVR_ERR When set, it indicates that the RTTC Interrupt FIFO overflowed and status reporting information was lost. To determine the status of the physical Links, the physical-link status for each link must be polled. This bit is cleared on read. 0) The RTTC Interrupt FIFO has not overflowed. 1) The RTTC Interrupt FIOF has overflowed.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
141
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x00C: Receive TC Interrupt FIFO Bit 15 14 13:11 10:4 3 2 1 0 Type RO RO RO RO RO RO RO RO Function FIFO_BUSY FIFO_NOT_EMPTY Unused LINK_ID HCS_ERR LCD_ERR FOVR_ERR OOCD_ERR Default 0 0 0 X X X X X
OOCD_ERR When set, it indicates that an OCD error occurred on the link indicated by Link ID. This bit is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. 0) No OCDE error occurred on the Link identified by LINK ID. 1) OCDE error occurred on the link identified by LINK ID. FOVR_ERR When set, it indicates that the RTTC Link FIFO overflowed on link LINK_ID. This bit is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. 0) RTTC Link FIFO did not overflow on the Link identified by LINK_ID. 1) RTTC Link FIFO overflowed on the Link identified by LINK_ID. LCD_ERR When set, it indicates that a Loss of Cell Delineation Error occurred on the Link identified by LINK ID. This bit is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. 0) No LCDE error occurred on the Link identified by LINK ID. 1) LCDE error occurred on the Link identified by LINK ID.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
142
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
HCS_ERR When set, it indicates that a Header Check Sequence Error occurred on the Link identified by LINK ID. This bit is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. 0) No HCSE error occurred on the Link identified by LINK ID. 1) HCSE error occurred on the Link identified by LINK ID. LINK_ID[6:0] Indicates the Physical-Link number associated with the error. If in SBI mode, this is in the SPE/LINK format while in CLK/DATA mode this field indicates the link number (0 to 83). This field is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. FIFO_NOT_EMPTY Indicates that the FIFO is not empty and that the data read is valid. This bit is valid only when FIFO_BUSY is not set. 0) FIFO empty, data is not valid 1) FIFO not empty, data is valid. FIFO_BUSY Indicates that the FIFO is in the process of retrieving the next entry. The Busy bit will generally be cleared within 4 sysclk cycles from the previous read of this field. While this bit is set, the other contents of this register are invalid.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
143
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x010: Master Interrupt Enable Register Bit 15:5 8 7 6 5 4 3 2 1 0 Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Function Reserved TC_INTR_EN MISC_INTR_EN SBI_ALARM_EN SBI_ADD_INTR_EN ICP_CELL_AVL_EN RDAT_INTR_EN TIMA_INTR_EN RIPP_INTR_EN Default 0 0 0 0 0 0 0 0 0
SBI_DROP_INTR_EN 0
The above enable-bits control the corresponding interrupt bits in the Master Interrupt Register. When an enable-bit is set to a logic 1, the corresponding error event will cause INTB to go active.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
144
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x012: Miscellaneous Interrupt Enable Register Bit 15:5 4 3 2 1 0 Type RO R/W R/W R/W R/W R/W Function Unused TC_INTR_FOVR_ER R_EN SDRAM_CRC_ERR_ EN TX_UTOP_CELLXFE RR_EN TX_UTOP_PAR_ERR EN Default 0 0 0 0 0
RX_UTOP_XFR_ERR 0 _EN
The above enable-bits control the corresponding interrupt bits in the Miscellaneous Interrupt register. When an enable-bit is set to a logic 1, the corresponding error event will cause the MISC_INT bit to be set in the Master Interrupt Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
145
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x014: TC Interrupt Enable Register Bit 15:4 3 2 1 0 Type RO R/W R/W R/W R\W Function Unused HCS_ERR_EN LCD_ERR_EN FOVR_ERR_EN OOCD_ERR_EN Default 0 0 0 0 0
The above enable-bits provide a global enable for the corresponding interrupt bits in the RTTC Interrupt FIFO. If an enable-bit is not set, the corresponding error event will not cause an entry to be written into the TC_INTR FIFO. When an enable-bit is set to a logic 1, the corresponding error event, if enabled for the link, will cause an entry to be written into the TC INTR FIFO.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
146
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.3 UTOPIA Interface Registers These registers control the configuration of the UTOPIA interface. Register 0x020: Transmit Any-PHY/UTOPIA Cell Available Enable Bit 15:11 10:0 Type R R/W Function Unused TCAEN[10:0] Default 0 0
TCAEN[10:0]: The TCAEN[10:0] bits control the response to polling on the AnyPHY/UTOPIA Transmit port. The TCAEN[10:0] bits can be used to enable virtual PHYs. Virtual PHYS are enabled in groups of eight consecutive addresses; for example, setting TCAEN[0] enables addresses 0 through 7, setting TCAEN[9] enables addresses 72 through 79, and setting TCAEN[10] enables addresses 80 through 83. If a disabled PHY address is polled, TCA remains high impedance. Similarly, PHY selection is ignored and no cell is transferred to the S/UNI-IMA-84 when a disabled PHY is addressed. This is typically used to allow more than one slave device to share the Transmit UTOPIA bus or to preserve addresses on the Any-PHY bus. Disabling all traffic to the Any-PHY/UTOPIA input port is achieved by setting all TCAEN[10:0] bits to logic 0.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
147
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x022: Receive UTOPIA Cell Available Enable Bit 15:4 3:0 R/W Type Function Unused RCAEN[3:0] Default 0 0
RCAEN[3:0]: The RCAEN[3:0] bits control the response to polling on the receive UTOPIA port when in UTOPIA Level 2 Multi-Address mode. The RCAEN[3:0] bits can be used to enable logical channels. Logical channels are enabled in groups of eight consecutive addresses; for example, setting RCAEN[0] enables addresses 0 through 7 and setting RCAEN[3] enables addresses 24 through 30. S/UNI-IMA-84 drives the RCA output signal either high or low, when polled with an address corresponding to a set RCAEN bit, depending on the Group FIFO status. If a disabled PHY address is polled, RCA remains high impedance. Similarly, PHY selection is ignored and no cell is transferred from the S/UNI-IMA-84 when a disabled PHY is addressed. This is typically used to allow more than one slave device to share the Receive UTOPIA bus. Disabling all traffic to the UTOPIA input port while in Multi-PHY mode is achieved by setting all RCAEN[3:0] bits to logic 0. This field is ignored when in Any-PHY or Single Port UTOPIA mode.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
148
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x024: Receive Any-PHY/UTOPIA Config Reg (RXAPS_CFG) Bit 15 14:13 12:8 7:6 5 4 3 2 1 0 Type R/W R R/W R R/W R/W R/W R/W R/W R/W Function RA_ENABLE Unused RA_DEVID[4:0] Unused RA_HECUDF RA_PREPEND RA_16_BIT_MOD E RA_EVEN_PAR RA_UTOP_MOD E Default 0 0 0 0 0 0 0 0 0
RA_ANY-PHY_EN 0
This register controls the receive side configuration of the Any-PHY/UTOPIA Interface RA_UTOP_MODE Selects the operating mode for the receive-side interface. This bit is ignored when ANY-PHY_EN is set: 0) UTOPIA-2 Single Address Slave with address prepend. 1) UTOPIA-2 Multi-Address Slave. RA_ANY-PHY_EN Enables Any-PHY mode for receive side interface. 0) UTOPIA mode. (Use RA_UTOP_MODE for UTOPIA type). 1) Any-PHY mode. RA_EVEN_PAR Determines the generated parity across data bytes/words sourced by the receive interface. 0) Odd parity. 1) Even parity.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
149
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RA_16_BIT_MODE When set, the Any-PHY/UTOPIA receive side interface operates in 16-bit mode. 0) 8-bit mode. 1) 16-bit mode. RA_PREPEND When set, two bytes are prepended to cells on the Any-PHY/UTOPIA bus. This prepend is always zero. This prepend is independent of the address prepend used for Any-PHY mode. 0) No additional bytes are prepended to the cells. 1) Two additional bytes are prepended to the cells. RA_HECUDF This bit is only valid in Single Address UTOPIA Mode. 0) Place the virtual PHY ID in a prepend. 1) Place the virtual PHY ID in the HECUDF. RA_DEVID[4:0] This field provides the device ID that is used for polling and selection in the Any-PHY mode or in the Single Address UTOPIA Mode. When the address presented on the Any-PHY/UTOPIA RADR Interface pins matches this address, the S/UNI-IMA-84 will respond to polls. The S/UNI-IMA-84 is selected for a cell transfer when the address on RADR at the last cycle that RENB is high matches RA_DEVID. RA_ENABLE Enables the Receive Any-PHY/UTOPIA interface. Prior to this bit being set, all outputs are tristated and all inputs are ignored on the Interface.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
150
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x026: Transmit Any-PHY/UTOPIA Config Reg (TXAPS_CFG) Bit 15 14:5 4 3 2 1 0 Type R/W R R/W R/W R/W R/W R/W Function TA_ENABLE Unused TA_PREPEND TA_16_BIT_MOD E TA_EVEN_PAR TA_ANY-PHY_EN Unused Default 0 0 0 0 0 0 0
This register controls the transmit-side configuration of the Any-PHY/UTOPIA Interface TA_ANY-PHY_EN Enables Any-PHY mode for the transmit side interface: 0) UTOPIA-2 Multi-Address Slave 1) Any-PHY mode. TA_EVEN_PAR Determines the checked parity across data bytes/words received by the AnyPHY/UTOPIA transmit Interface. 0) Odd parity 1) Even parity. TA_16_BIT_MODE When set, the TX Any-PHY/UTOPIA interface operates in 16-bit mode. 0) 8-bit mode 1) 16-bit mode TA_PREPEND: When set, a single 2-byte prepend is expected on the Any-PHY/UTOPIA transmit interface. This prepend is independent of the address prepend used for Any-PHY mode. The prepend is ignored, but the capability is provided to enhance interoperability.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
151
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
0) No two-byte prepend is expected. 1) Two-byte prepend is expected. TA_ENABLE Enables the Transmit Any-PHY/UTOPIA interface. Prior to this bit being set, all outputs are tristated and all inputs are ignored on the Interface.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
152
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x028: Transmit Any-PHY Address Config Register (TXAPS_ADD_CFG) Bit 15:7 6:0 Type R/W R/W Function Default
CFG_ADDR_MSB 0 Unused 0
CFG_ADDR_MSB(15:7) These bits contain the configured slave address used for Any-PHY operation in the transmit direction. Depending on the mode of the Any-PHY/UTOPIA interface different bits of this field are used. In Any-PHY 16-bit mode, the upper nine bits of the prepended address on the Any-PHY bus is compared with CFG_ADDR_MSB to select the device. The lower seven bits of the prepended address on the Any-PHY bus are not compared with this field, and are used only to route each cell to the targeted virtual PHY FIFO. In Any-PHY 8-bit mode, the MSB of the prepended address on the Any-PHY bus is compared with CFG_ADDR_MSB[7] to select the device. The lower seven bits of the prepended address on the Any-PHY bus are not compared with this field, and are used only to route each cell to the targeted virtual PHY FIFO. In UTOPIA Level 2 mode, this register is not used. To disable UTOPIA transmit ports, the Transmit Any-PHY/UTOPIA Cell-Available Enable register is provided.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
153
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.4 SDRAM Registers Register 0x040: SDRAM Configuration Bit 15:12 11:1 0 R/W R/W Type Function Unused REF_RATE [10:0] SDRAM_EN Default 0 0 0
This register configures and enables the SDRAM interface. SDRAM_EN The SDRAM_EN enables the SDRAM interface. A transition from 0 to 1 starts the SDRAM self-initialization procedure. This procedure takes 70 SYSCLK cycles to complete. Note that no other SDRAM accesses are allowed during this period. SDRAM_EN is provided to ensure that the power-up of the SDRAM is completed before the SDRAM self-initialization sequence is started. The power-up time is controlled by SDRAM_EN. Typically, this must be at least 200 us. When SDRAM_EN = `0', no SDRAM accesses will occur and the chip will not operate properly. 0) SDRAM accesses are disabled 1) SDRAM accesses are enabled REF_RATE[10:0] Defines the SYSCLK divide-down factor to determine the SDRAM refresh rate. The REF_RATE must be configured prior to setting the SDRAM_EN. A zero value will effectively disable refresh. For Example, if the SDRAM requires 4K refreshes in 64 ms with a SYSCLK of 50 MHz, the REF_RATE should be programmed to:
REF _ RATE = Sys _ Clk 50MHZ = = 781 = 0 x30 D (# _ of _ refresh) 4096 64ms (time _ period )
(
)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
154
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x042 SDRAM Diagnostics Bit 15:1 0 Type N/A R/W Function Unused DIAG_MODE Default 0 0
DIAG_MODE The SDRAM Diagnostic Mode (DIAG_MODE) allows the microprocessor to access the SDRAM for testing and initialization. While in diagnostic mode, the normal SDRAM accesses are inhibited and the S/UNI-IMA-84 will not operate properly. 0) Diagnostic access is disabled and the S/UNI-IMA-84 operates normally. 1) Diagnostic access is enabled. The SDRAM may be accessed via indirect access as described in section 11.4 using registers 0x44-0x50.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
155
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x044: SDRAM DIAG Burst RAM Indirect Access Bit 15 14:5 4:0 Type RO N/A R/W Function BR_BUSY Unused BR_ADDR[4:0] Default 0 N/A 0
Writing to this register triggers either a write to the Burst Write RAM or a read from the Burst Read RAM. See 12.6.1 for further details. BR_ADDR [4:0]: The Burst-ram address (BR_ADDR [4:0]) indicates the RAM address to be configured or interrogated. The Burst ram is divided into 2 segments: the first is Burst Write RAM, which is used to store data to be loaded into the External SDRAM; the second is the Burst Read RAM, which is used to collect data read from the External SDRAM. The access to the burst-write RAM is always a write operation while the access to the burst-read RAM is always a read operation. See Figure 25 for the format of the Burst RAM. * * 0x00-0x0F: Burst-Write RAM 0x10-0x1F: Burst-Read RAM
BR_BUSY: The indirect access command bit (BR_BUSY) reports the progress of an indirect access. BR_BUSY is set high when the register is written to trigger an indirect access; it will stay high until the access is complete. Once the access is complete, the BR_BUSY signal is reset. This register should be polled: (1) to determine when data from an indirect read operation is available in the SDRAM Indirect Burst RAM Data register or (2) to determine when a new indirect write operation may commence.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
156
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x046: SDRAM DIAG Indirect Burst Ram Data LSB Bit 15:0 Type R/W Function BR_DATA_LSB Default 0
This register should not be written while the BR_BUSY bit is set in the SDRAM Burst RAM Indirect Access register. BR_DATA_LSB: The BR_DATA_LSB represents either: (1) the least significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the BR_BUSY bit has been cleared.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
157
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x048: SDRAM DIAG Indirect Burst RAM Data MSB Bit 15:0 Type R/W Function BR_DATA_MSB Default 0
This register should not be written while the BR_BUSY bit is set in the SDRAM Burst RAM Indirect Access register. BR_DATA_MSB: The BR_DATA_MSB represents either: (1) the most significant 16 bits of the data to be written to internal memory or (2) the most significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the BR_BUSY bit has been cleared. The following explains the Burst RAM accessed by the indirect access. Burst RAM: The microprocessor has access to the external SDRAM for testing and initialization. There is a 64-byte cell buffer for writing to the external SDRAM and a 64-byte cell buffer for storing data read from the external SDRAM. Figure 25 shows the format of the cell in the Burst RAM.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
158
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 25
-Burst RAM Format Word # 31 0x00 0x01 ... ... 0x0F 0x10 0x11 ... ... 0x1F Burst Read(15) Burst Write(15) Burst Read (0) Burst Read (1) Bits Burst Write (0) Burst Write (1) 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
159
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x04A: SDRAM DIAG WRITE CMD 1 Bit 15:0 Type R/W Function WR_BUFFER_ADDR[15:0] Default 0
WR_BUFFER_ADDR[15:0] Indicates the lower 16 bits of the addresses of the cell buffer to write. SDRAM DIAG Write CMD 2 provides the upper address bit and triggers the burst access to happen.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
160
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x04C: SDRAM DIAG WRITE CMD 2 Bit 15 14:1 0 R/W Type R Function WRBUSY Unused WR_BUFFER_ADDR[16] 0 Default 0
A write to the SDRAM DIAG WR_CMD 2 register will trigger a transfer of data from the Write Burst Ram to the external SDRAM. The lower bits of the address of the cell buffer in the external SDRAM are given in the SDRAM DIAG WRITE CMD 1 register. WR_BUFFER_ADDR[16] Indicates the upper bit of the addresses of the cell buffer to write. SDRAM DIAG Write CMD 1 provides the lower address bits. WRBUSY The Write Busy bit (WRBUSY) reports the progress of the write access to SDRAM. WRBUSY is set high when this register is written; this triggers the SDRAM access; it stays high until the access is complete. At which point, WRBUSY will be set low. This register should be polled to determine when a new diagnostic write operation may commence. While the WRBUSY bit is set, no indirect accesses to the write burst ram should be performed.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
161
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x04E: SDRAM DIAG READ CMD 1 Bit 15:0 Type R/W Function RD_BUFFER ADDR[15:0] Default 0
RD_BUFFER_ADDR[15:0] Indicates the lower 16 bits of the addresses of the cell buffer to read. SDRAM DIAG Read CMD 2 provides the upper address bit and triggers the burst access to happen.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
162
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x050: SDRAM DIAG READ CMD 2 Bit 15 14:1 0 R/W Type R Function RDBUSY Unused RD_BUFFER ADDR[16] Default 0
A write to the SDRAM DIAG READ CMD 2 register will trigger a transfer of data from the external SDRAM to the Read Burst Ram. The lower bits of the address of the cell buffer in the external SDRAM are given in the SDRAM DIAG READ CMD 1 register. RD_BUFFER_ADDR[16] Indicates the upper bit of the addresses of the cell buffer to read. SDRAM DIAG READ CMD 1 provides the lower address bits. RDBUSY The Read Busy bit (RDBUSY) reports the progress of the read access to SDRAM. RDBUSY is set high when this register is written; this triggers the SDRAM access; it stays high until the access is complete. At which point, RD_BUSY will be set low. This register should be polled to determine when the data is available in the Burst Ram.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
163
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.5 TC Layer Registers Register 0x060: TTTC Indirect Link Control Register Bit 15 14 13:7 6:5 4:0 R/W R/W Type R R/W Function LBUSY LRWB Unused SPE[1:0] LINK[4:0] Default 0 0 0 0 0
This register provides the link number used to access the TTTC link provision RAM. Writing to this register triggers an indirect link register access. LINK[4:0],SPE[1:0]: LINK[4:0] and SPE[1:0] are used to specify the link to be configured or interrogated in the indirect link access. SBI mode: Valid values for SPE are 0x1 to 0x3, and valid values for LINK are 0x1 to 0x1C. Clk/Data mode: SPE and LINK are combined to form the Virtual Link number. 84 virtual links are available. Valid values for the SPE/LINK fields are 0x00 to 0x53. LRWB: The link indirect access control bit (LRWB) selects between either a configure (write) or interrogate (read) access to the link-context RAM. Writing a logic 0 to LRWB triggers an indirect write operation. Data to be written is taken from the Indirect Link Data registers. Writing a logic 1 to LRWB triggers an indirect read operation. The read data can be found in the Indirect Link Data registers. LBUSY: The indirect link access status bit (LBUSY) reports the progress of an indirect access A write to the Indirect Link Address register triggers an indirect access and sets LBUSY to logic 1; it will remain logic 1 until the access is complete. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Link Data registers or (2)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
164
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
when a new indirect write operation may commence. The LBUSY is not expected to remain at logic 1 for more than 86 REFCLK cycles.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
165
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x062: TTTC Indirect Link Configuration Register Bit 15:3 2 1 0 R/W R/W R/W Type Function Unused DHCS Reserved DSCR Default 0 0 0 0
This register contains either: (1) data read from the TTTC link provision RAM after an indirect Link read operation or (2) data to be inserted into the TTTC link provision RAM in an indirect Link write operation. DSCR: The indirect scrambling disable bit (DSCR) configures scrambling. The scramble disable bit to be written to the link provision RAM, in an indirect link write operation, must be set up in this register before triggering the write. When DSCR is logic 1, scrambling is disabled. When DSCR is logic 0, the 48 byte payload is scrambled. DSCR reflects the value written until the completion of a subsequent indirect link-read operation. DHCS: The Disable HCS (Header Check Sequence) bit (DHCS) configures the insertion of the HCS in the fifth byte of the cell. The value of DHCS to be written to the link provision RAM, in an indirect link write operation, must be set up in this register before triggering the write. When DHCS is logic 0, the CRC-8 calculation over the first four bytes of the cell overwrites the fifth byte. When DHCS is logic 1, the fifth byte of the cell passes through unmodified. DHCS reflects the value written until the completion of a subsequent indirect link-read operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
166
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x070: RTTC Indirect Link Control Register Bit 15 14 13 12:7 6:5 4:0 R/W R/W Type R R/W R/W Function LBUSY LRWB DRHCSE Unused SPE[1:0] LINK[4:0] Default 0 0 0 0 0 0
This register provides the link number used to access the RTTC link provision RAM. Writing to this register triggers an indirect link-register access. LINK[4:0],SPE[1:0]: LINK[4:0] and SPE[1:0] are used to specify the link to be configured or interrogated in the indirect link access. SBI mode: Valid values for SPE are 0x1 to 0x3, and valid values for LINK are 0x1 to 0x1C. Clk/Data mode: SPE and LINK are combined to form the Virtual Link number. 84 virtual links are available. Valid values for the SPE/LINK fields are 0x00 to 0x53. DRHCSE: Disable Reset of the HCS Error Count (DRHCSE) disables automatic reset of the HCS Error Counter (HCSERR). When the bit is set to logic 0, automatic reset of the HCS Error Counter is enabled. If an indirect read is initiated (i.e., CRWBs written with logic 1) with DRHCSE logic 0, the HCS Error Counter is reset to zero upon completion of the indirect read. When the DRHCSE bit is set to logic 1, automatic reset of the HCS Error Counter is disabled. An indirect read results in the interrupt status, as well as the HCSERR count, being read (and possibly cleared). In this situation, the DRHCSE bit is useful for separating interrupt processing from HCSERR count accumulation because it can disable the HCSERR count reset when querying for interrupts.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
167
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
LRWB: The Link indirect access control bit (LRWB) selects between a configure (write) or interrogate (read) access to the Link context RAM. Writing a logic 0 to LRWB triggers an indirect write operation. Data to be written is taken from the Indirect Link Data registers. Writing a logic 1 to LRWB triggers an indirect read operation. The read data can be found in the Indirect Link Data registers. LBUSY: The indirect access status bit (LBUSY) reports the progress of an indirect access. A write to the Indirect Link Address register triggers an indirect access and sets LBUSY to logic 1. LBUSY stays high until the access is completed. At which point, LBUSY will be set low. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
168
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x072: RTTC Indirect Link Configuration Register Bit 15:11 10 9 8 7 6 5 4 3 2 1 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type Function Unused LCDOOCDPASS HCSPASS UNASSPASS IDLEPASS DDSCR Reserved Reserved OOCDE HCSE FOVRE LCDE 0 0 0 0 0 0 0 0 0 0 0 Default
This register contains either: (1) data read from the RTTC Link provision RAM after an indirect Link read operation or (2) data to be inserted into the RTTC Link provision RAM in an indirect Link write operation. The bits to be written to the RTTC Link provision RAM, in an indirect Link write operation, must be set up in this register before triggering the write. The bits reflect the value written until the completion of a subsequent indirect Link read operation. The reset state of the bits enables standard ATM cell processing as stipulated in ITU-T Recommendation I.432.1 LCDE: The LCDE bit enables the generation of an interrupt due to a change in the LCD state. When LCDE is set to logic 1, the interrupt is enabled. FOVRE: The FOVRE bit enables the generation of an interrupt due to a FIFO overrun error condition. When FOVRE is set to logic 1, the interrupt is enabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
169
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
HCSE: The HCSE bit enables the generation of an interrupt due to the detection of an HCS error. When HCSE is set to logic 1, the interrupt is enabled. OOCDE: The OOCDE bit enables the generation of an interrupt due to a change in the cell delineation state. When OOCDE is set to logic 1, the interrupt is enabled. DDSCR: The DDSCR bit controls the descrambling of the cell payload with the polynomial x43 + 1. When DDSCR is set to logic 1, cell payload descrambling is disabled. When DDSCR is set to logic 0, payload descrambling is enabled. IDLEPASS: The IDLEPASS bit controls the function of the idle cell filter. When IDLEPASS is written with a logic 0, all idle cells (i.e., the first four bytes of a cell: x00, x00, x00, and x01) are filtered out. When IDLEPASS is logic 1, idle cells are passed to the external cell buffer. UNASSPASS: When UNASSPASS is written with a logic 0, all unassigned cells (i.e., the first four bytes of a cell: x00, x00, x00, and x00) are filtered out. When UNASSPASS is logic 1, unassigned cells are passed to on the external cell buffer. HCSPASS: The HCSPASS bit controls the dropping of cells based on the detection of an HCS error. When HCSPASS is logic 0, cells containing an HCS error are dropped. When HCSPASS is a logic 1, cells are passed to the external cell buffer regardless of errors detected in the HCS. LCDOOCDPASS: The LCDOCDPASS bit controls the dropping of cells based on the detection of an out of cell delineation and loss of cell delineation. When LCDOOCDPASS is logic 0, cells containing an OOCD error and an LCD error are dropped. When LCDOOCDPASS is a logic 1, cells are passed to the external cell buffer regardless of errors detected in the OOCD and LCD.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
170
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x074: RTTC Indirect Link Interrupt and Status Register Bit 15:6 5 4 3 2 1 0 R R R R R R Type Function Unused OOCDV LCDV OOCDI HCSI FOVRI LCDI 1 0 0 0 0 0 Default
This register contains data read from the RTTC Link provision RAM after an indirect read operation. LCDI: The LCDI bit is set high when there is a change in the loss of cell delineation (LCD) state. This bit is reset immediately after a read to this register. FOVRI: The FOVRI bit is set to logic 1 when a FIFO overrun occurs. This bit is reset immediately after a read to this register. HCSI: The HCSI bit is set high when an HCS error is detected. This bit is reset immediately after a read to this register. OOCDI: The OOCDI bit is set high when the logical Link enters or exits the SYNC state. The OOCDV bit indicates whether the logical Link is in the SYNC state or not. The OOCDI bit is reset immediately after a read to this register. LCDV: The LCDV bit gives the Loss of Cell Delineation state. When LCD is logic 1, an out of cell delineation (OCD) defect has persisted for the number of cells specified in the LCD Count Threshold register. When LCD is logic 0, no OCD has persisted for the number of cells specified in the LCD Count Threshold
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
171
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
register. The cell time period can be varied by using the LCDC[7:0] register bits in the LCD Count Threshold register. OOCDV: The OOCDV bit is high when the logical Link is not currently in the SYNC state.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
172
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x076: RTTC Indirect Link HCS Error Count Register Bit 15:0 Type R Function HCSERR[15:0] Default 0
This register contains data read from the RTTC Link provision RAM after an indirect read operation. HCSERR[15:0]: The HCSERR[7:0] bits indicate the number of HCS error events that occurred during the last accumulation interval. When the number of HCS error events during the last accumulation interval exceeds 64K, the HCSERR[15:0] retains a value of FFFFH until the next accumulation interval (HCSERR[15:0] is reset).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
173
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x078: LCD Count Threshold Bit 15:8 7:0 R/W Type Function Unused LCDC[7:0] 0x68 Default
LCDC[7:0]: The LCDC[7:0] bits represent the number of consecutive cell periods the receive cell processor must be out of cell delineation before loss of cell delineation (LCD) is declared. Likewise, LCD is not deasserted until the receive cell processor is in cell delineation for the number of cell periods specified by LCDC[7:0]. The default value of LCDC[7:0] is 104; this translates to 28 ms at 1.5 Mbps.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
174
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.6 SBI Registers Register 0x080: SBI Bus Configuration Register (SBI_BUS_CFG_REG) Bit 15:14 13 12 11 10 9 8 7 6 5:4 3:2 1:0 Type Rsvd R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Function Unused Reserved Reserved Reserved Reserved Reserved SPE3_ENBL SPE2_ENBL SPE1_ENBL SPE3_TYP[1:0] SPE2_TYP[1:0] SPE1_TYP[1:0] Default 0 0 0 0 0 0 0 0 0 0 0 0
The SBI bus contains 3 Synchronous Payload Envelopes (SPE) that can be configured to be E1, T1, or DS3. This register defines the payload type for each SPE, and enables each SPE. SPEn_TYP[1:0] The SPEn_TYP fields identify the payload type of each SPE. The encoding for SPEn_TYPE is: Payload Type T1 E1 DS3 Reserved SPEn_TYP Value b"00" b"01" b"10" b"11"
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
175
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
SPEn_ENBL The SPEn_ENBL field is used to enable or disable an entire SPE on the SBI. When high, the SPE is enabled. All SPEs default to disabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
176
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x084-0x08E: SBI Extract Alarm Interrupt Register Address 0x084 0x086 0x088 0x08A 0x08C 0x08E Bit 15:0 15:12 11:0 15:0 15:12 11:0 15:0 15:12 11:0 SPEn_ALRM_INTn When set, SPEn_ALRM_INTn indicates that the ALM bit in the V4 octet received on the SBI Drop bus has changed on the corresponding SBI tributary. This bit is cleared upon reading. Read SPEn_ALRM_STATn to see the current state. When a bit is set in any SPEn_ALRM_INTn and the SBI_ALARM_EN bit is set, the SBI_ALARM bit will be set in the Master Interrupt register; this will activate INTB. Type R2C R2C R2C R2C R2C R2C R2C R2C R2C Function SPE1_ALRM_INT[15:0] Unused SPE1_ALRM_INT[27:16] SPE2_ALRM_INT[15:0] Unused SPE2_ALRM_INT[27:16] SPE3_ALRM_INT[15:0] Unused SPE3_ALRM_INT[27:16] Default 0 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
177
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x090-0x09A: SBI Extract Alarm Status Register Address 0x090 0x092 0x094 0x096 0x098 0x09A Bit 15:0 15:12 11:0 15:0 15:12 11:0 15:0 15:12 11:0 SPEn_ALRM_STATn SPEn_ALRM_STATn indicates the current value of the ALM bit received in the V4 octet of the SBI Drop bus on the corresponding SBI tributary. SPE1_ALRM_INTn in the SBI Extract Alarm Interrupt Register will be set whenever this bit changes. Type RO RO RO RO RO RO RO RO RO Function SPE1_ALRM_STAT[15:0] Unused SPE1_ALRM_STAT[27:16] SPE2_ALRM_STAT[15:0] Unused SPE2_ALRM_STAT[27:16] SPE3_ALRM_STAT[15:0] Unused SPE3_ALRM_STAT[27:16] Default 0 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
178
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0A0: SBI Extract Control Register Bit 15:8 7 6 5 4 3 2 1 0 R/W R/W R/W R/W R/W R/W R/W R/W Type Function Unused Reserved DC_ENBL DC_INT_EN FIFO_OVRE FIFO_UDRE Reserved SBI_PERR_EN SBI_PAR_CTL Default 0 0 1 0 0 0 0 0 1
SBI_PAR_CTL The SBI_PAR_CTL bit is used to configure the Parity mode for checking the SBI parity signal DP as follows: When SBI_PAR_CTL is '0', parity will be even. When SBI_PAR_CTL is `1', parity will be odd. SBI_PERR_EN The SBI_PERR_EN bit is used to enable SBI Parity Error interrupt generation. When SBI_PERR_EN is `0', SBI Parity Error Interrupts will be disabled. When SBI_PERR_EN is `1', SBI Parity Error Interrupts will be enabled. In both cases, the SBI Parity checker logic will update the SBI Parity Error Interrupt Reason Register. FIFO_UDRE This bit is set to enable the generation of an interrupt when a FIFO underrun is detected. FIFO_OVRE This bit is set to enable the generation of an interrupt when a FIFO overrun is detected.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
179
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
DC_INT_EN This bit is set to enable the generation of an interrupt when either of the following events occurs: A Depth Check error An external resynchronization event occurs on either the C1FP or SBIIP_SYNC signals DC_ENBL This bit enables automatic Depth Check Resets. The depth-checker logic will periodically monitor the EXSBI FIFO depths and compare them to the write and read pointers. When DC_ENBL is asserted high and there is a discrepancy, the tributary is automatically reset by the depth checker. When DC_ENBL is low, the tributary reset is suppressed, but the Depth Check Error is reported via the Depth Check Interrupt Reason Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
180
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0A2: SBI Extract FIFO Underrun Interrupt Register Bit 15:8 7:6 5:1 0 R2C R2C R2C Type Function Unused SPE[1:0] TRIB[4:0] FIFO_UDRI Default 0 01 0 0
FIFO_UDRI This bit is set when a FIFO underrun is detected, regardless of the state of EXSBI FIFO_UDRE. Reading this register clears this bit unless another FIFO Underrun interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the FIFO underrun was detected. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'. These fields are valid only when FIFO_UDRI=1.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
181
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0A4: SBI Extract FIFO Overrun Interrupt Register Bit 15:8 7:6 5:1 0 R2C R2C R2C Type Function Unused SPE[1:0] TRIB[4:0] FIFO_OVRI Default 0 01 0 0
FIFO_OVRI This bit is set when a FIFO overrun is detected, regardless of the state of EXSBI FIFO_OVRE. Reading this register clears this bit unless another FIFO Overrun interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the FIFO overrun was detected. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'. These fields are valid only when FIFO_OVRI=1.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
182
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0A6: SBI Extract Tributary Control RAM Indirect Access Address Register Bit 15:8 7 6:5 4:0 R/W R/W R/W Type Function Unused Reserved SPE[1:0] TRIB[4:0] Default 0 0 0 0
TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields are used to specify to which SBI tributary the control register access will apply. TRIB[4:0] specifies the SBI tributary number within the SBI SPE as specified by the SPE[1:0] field. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
183
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0A8: SBI Extract Tributary Control RAM Indirect Access Control Register Bit 15:8 7 6 5:2 1 0 RWB The indirect access control bit (RWB) selects between a configure (write) or an interrogate (read) access to the tributary control configuration RAM. Writing a `0' to RWB triggers an indirect write operation. Data to be written is taken from the SBI Extract Tributary Control Indirect Access Data Register. Writing a `1' to RWB triggers an indirect read operation. The data read can be found in the SBI Extract Tributary Control Indirect Access Data Register. HST_ADDR_ERR When set following a host read, this bit indicates that an illegal host access was attempted. An illegal host access occurs when an attempt is made to access an out-of-range tributary. For DS3 the out-of-range tributaries are 1,2 to 1,28; 2,2 to 2,28; and 3,2 to 3,28. For E1, the out-of-range tributaries are 1,22 to 1,28; 2,22 to 2,28; and 3,22 to 3,28. BUSY The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when a write to the SBI Extract Tributary RAM Indirect Access Control Register triggers an indirect access and will stay high until the access is complete. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Tributary Data register or (2) when a new indirect write operation may commence. . R/W R/W RO R2C Type Function Unused BUSY HST_ADDR_ERR Unused RWB Reserved Default 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
184
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0AC: SBI Extract Tributary Control RAM Indirect Access Data Register Bit 15:7 6 5 4 3:2 1 0 R/W R/W R/W R/W R/W R/W Type Function Unused Reserved Reserved Reserved TRIB_TYP[1:0] Reserved ENBL Default 0 0 0 0 0 0 0
This register represents either (1) the data to be written to the internal memory or (2) data read from the internal memory from the previous indirect read operation. The read data is not valid until the BUSY bit in the SBI Extract Tributary RAM Indirect Access Control register is cleared. ENBL The ENBL bit is used to enable the Tributary. Writing to an SBI Extract Tributary Control Register with the ENBL bit set enables the EXSBI to take tributary data from an SBI tributary and transmit that data to the corresponding Link FIFO. TRIB_TYP[1:0] The TRIB_TYP[1:0] field is used to specify the characteristics of the SBI tributary. Only the value of `01' is supported; this indicates a framed tributary without CAS. THIS MUST BE WRITTEN TO A "01" value. Note: Any write to a Tributary Control register for a tributary will generate a configuration reset on that tributary, irrespective of whether the data written to the tributary control register is unchanged from the previous value.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
185
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0AE: SBI Extract Parity Error Interrupt Register Bit 15:8 7:6 5:1 0 PERRI This bit is set when an SBI parity error is detected, regardless of the state of SBI_PERR_EN. Reading this register clears this bit unless another parity error interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the parity error was detected. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'. These fields are valid only when PERRI=1 RO RO R2C Type Function Unused SPE[1:0] TRIB[4:0] PERRI Default 0 01 00001 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
186
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0BC: SBI Extract Depth Check Interrupt Register Bit 15:8 7:6 5:1 0 DCR_INTI This bit is set when a Depth Check error is detected, regardless of the state of DC_INT_EN. Reading this register clears this bit unless another depth check interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the depth check error was detected. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'. These fields are valid only when DCR_INTI=1. R2C R2C R2C Type Function Unused SPE[1:0] TRIB[4:0] DCR_INTI Default 0 01 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
187
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0BE: SBI Extract Master Interrupt Register Bit 15:8 7 6 5 4 3 2 1 0 RW RSVD RO RO RO RO R2C R2C Type Function Unused FIFO_UNDERUN_DIS Unused DCR_INTI_SHDW PERRI_SHDW FIFO_UDRI_SHDW FIFO_OVRI_SHDW SBIIP_SYNC_INTI C1FP_SYNC_INTI Default 0 0 0 0 0 0 0 0 0
C1FP_SYNC_INTI This bit is set when a C1FP realignment has been detected. Reading this register clears this interrupt source. SBIIP_SYNC_INTI This bit is set when a SBIIP_SYNC realignment has been detected. Reading this register clears this interrupt source. FIFO_OVRI_SHDW This bit is a shadow of the FIFO_OVRI bit in the SBI Extract FIFO Overrun Interrupt Status Register. It is set when the FIFO_OVRI bit is set and the interrupt enable FIFO_OVRE is set. Reading this register has no affect on this interrupt source. FIFO_UDRI_SHDW This bit is a shadow of the FIFO_UDRI bit in the SBI Extract FIFO Underrun Interrupt Status Register. It is set when the FIFO_UDRI bit is set and the interrupt enable FIFO_UDRE is set. Reading this register has no affect on this interrupt source.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
188
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
PERRI_SHDW This bit is a shadow of the PERRI bit in the SBI Parity Error Interrupt Reason Register. It is set when the PERRI bit is set and the interrupt enable SBI_PERR_EN is set. Reading this register has no affect on this interrupt source. DCR_INTI_SHDW This bit is a shadow of the DCR_INTI bit in the SBI Extract Depth Check Interrupt Status Register. It is set when the DCR_INTI bit is set and the interrupt enable DCR_INT_EN is set. Reading this register has no affect on this interrupt source. FIFO_UNDERUN_DIS This bit, when set, disables underrun errors by not playing data out of an internal rate matching FIFO when the FIFO goes empty. If this bit is not set, Depth Check Interrupts will occur and data corruption will result. Note: This bit MUST be set to a one for proper operation
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
189
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0C0: SBI Insert Control Register Bit 15:8 7 6 5 4 3 2 1 0 R/W R/W R/W R/W R/W R/W Rsvd R/W Type Function Unused Reserved DC_ENBL DC_INT_EN FIFO_OVRE FIFO_UDRE Reserved Unused SBI_PAR_CTL Default 0 0 1 0 0 0 0 0 1
SBI_PAR_CTL The SBI_PAR_CTL bit is used to configure the Parity mode for generation of the SBI data parity signal, ADP as follows When SBI_PAR_CTL is a `0' parity will be even. When SBI_PAR_CTL is a `1', parity will be odd. FIFO_UDRE The FIFO_UDRE bit is used to enable/disable the generation of an interrupt when a FIFO underrun is detected. When FIFO_UDRE is a `0', underrun interrupt generation is disabled. When FIFO_UDRE is a `1', underrun interrupt generation is enabled. FIFO_OVRE The FIFO_OVRE bit is used to enable/disable the generation of an interrupt when a FIFO overrun is detected. When FIFO_OVRE is a `0', overrun interrupt generation is disabled. When FIFO_OVRE is a `1', overrun interrupt generation is enabled. DC_INT_EN This bit is set to enable the generation of an interrupt when either of the following events occurs: A Depth Check error
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
190
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
An external resynchronization event occurs on either the C1FP or SBIIP_SYNC signals DC_ENBL This bit enables automatic Depth Check Resets. The depth-checker logic will periodically monitor the EXSBI FIFO depths and compare them to the write and read pointers. When DC_ENBL is asserted high and there is a discrepancy, the tributary is automatically reset by the depth checker. When DC_ENBL is low, the tributary reset is suppressed, but the Depth Check Error is reported via the Depth Check Interrupt Reason Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
191
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0C2: SBI Insert FIFO Underrun Interrupt Register Bit 15:8 7:6 5:1 0 RO RO R2C Type Function Unused SPE[1:0] TRIB[4:0] FIFO_UDRI Default 0 01 0 0
FIFO_UDRI This bit is set when a FIFO underrun is detected, regardless of the state of INSBI FIFO_UDRE. Reading this register clears this bit unless another FIFO Underrun interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the FIFO underrun was detected. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'. These fields are valid only when FIFO_UDRI=1.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
192
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0C4: SBI Insert FIFO Overrun Interrupt Register Bit 15:8 7:6 5:1 0 RO RO R2C Type Function Unused SPE[1:0] TRIB[4:0] FIFO_OVRI Default 0 01 0 0
FIFO_OVRI This bit is set when a FIFO overrun is detected, regardless of the state of INSBI FIFO_OVRE. Reading this register clears this bit unless another FIFO Overrun interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the FIFO overrun was detected. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'. These fields are valid only when FIFO_OVRI=1.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
193
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0C6: SBI Insert Tributary Control RAM Indirect Access Address Register Bit 15:8 7 6:5 4:0 R/W R/W R/W Type Function Unused Reserved SPE[1:0] TRIB[4:0] Default 0 0 0 0
TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields are used to fully specify the SBI tributary to which the Control RAM write or read operation will apply. TRIB[4:0] specifies the SBI tributary number within the SBI SPE, as specified by the SPE[1:0] field. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
194
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0C8: SBI Insert Tributary Control RAM Indirect Access Control Register Bit 15:8 7 6 5:2 1 0 RWB The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the control configuration RAM. Writing a `0' to RWB triggers an indirect write operation. Data to be written is taken from the SBI Insert Tributary Control Indirect Access Data Register. Writing a `1' to RWB triggers an indirect read operation. The data read can be found in the SBI Insert Tributary Control Indirect Access Data Register. HST_ADDR_ERR When set following a host read, this bit indicates that an illegal host access was attempted. An illegal host access occurs when an attempt is made to access an out-of-range tributary. BUSY The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when a write to the SBI Insert Tributary RAM Indirect Access Control Register triggers an indirect access and will stay high until the access is complete. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Tributary Data register or (2) to determine when a new indirect write operation may commence. R/W R/W RO R2C Type Function Unused BUSY HST_ADDR_ERR Unused RWB Reserved Default 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
195
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0CC: SBI Insert Tributary Control RAM Indirect Access Data Register Bit 15:6 5 4 3:2 1 0 R/W R/W R/W R/W R/W Type Function Unused Reserved Reserved TRIB_TYP[1:0] Reserved ENBL Default 0 0 0 0 0 0
This register represents either (1) the data to be written to the internal memory or (2) data read from the internal memory from the previous indirect read operation. The read data is not valid until the BUSY bit in the SBI Insert Tributary RAM Indirect Access Control register is cleared. ENBL The ENBL bit is used to enable the Tributary. Writing to an SBI Insert Tributary Control RAM location with the ENBL bit set enables the INSBI to take tributary data from a Link FIFO and transmit that data to the corresponding SBI tributary. TRIB_TYP[1:0] The TRIB_TYP[1:0] field is used to specify the characteristics of the SBI tributary. Only the value "01" (which indicates a framed tributary) is valid. * * * * * CAS can only be enabled for a framed tributary. A Transparent VT can not be a framed tributary A Transparent VT can not have CAS. "Framed" means framing information available - may be channelized or unchannelized. "Unframed" means no framing information available.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
196
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
* *
"Floating Transparent VTs" uses all possible SBI octets for data except V1-V4. For DS3 and E3 there is no CAS and no Transparent VT modes. Only Framed and Unframed modes are used. The MSB of TRIB_TYP is used to determine if the Tributary is Framed or Unframed. The LSB of TRIB_TYP is ignored. For fractional tributaries the TRIB_TYP field is ignored.
*
Note: Any write to a Tributary Control RAM location for a tributary will generate a configuration reset on that tributary, irrespective of whether the data written to the tributary control RAM location is unchanged from the previous value.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
197
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0E2: SBI Insert Depth Check Interrupt Register Bit 15:8 7:6 5:1 0 DCR_INTI This bit is set when a Depth Check error is detected, regardless of the state of DC_INT_EN. Reading this register clears this bit unless another Depth Check interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the Depth Check error was detected. Legal values for TRIB[4:0] are b`00001' through b`11100'. Legal values for SPE[1:0] are b`01' through b`11'. These fields are valid only when DCR_INTI=1. RO RO R2C Type Function Unused SPE[1:0] TRIB[4:0] DCR_INTI Default 0 01 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
198
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x0E4: SBI Insert Master Interrupt Register Bit 15:6 5 4 3 2 1 0 RO RSVD RO RO R2C R2C Type Function Unused DCR_INTI_SHDW Unused FIFO_UDRI_SHDW FIFO_OVRI_SHDW SBIIP_SYNC_INTI C1FP_SYNC_INTI Default 0 0 0 0 0 0 0
C1FP_SYNC_INTI This bit is set when a C1FP realignment has been detected. SBIIP_SYNC_INTI This bit is set when a SBIIP_SYNC realignment has been detected. This generally happens when the SBI interface is configured and indicates an internal bus sync event. After configuration, this interrupt should not occur. FIFO_OVRI_SHDW This bit is a shadow of the FIFO_OVRI bit in the SBI Insert FIFO Over Run Interrupt Status Register. It is set when the FIFO_OVRI bit is set and the interrupt enable FIFO_OVRE is set. Reading this register has no affect on the interrupt status. FIFO_UDRI_SHDW This bit is a shadow of the FIFO_UDRI bit in the SBI Insert FIFO Under Run Interrupt Status Register. It is set when the FIFO_UDRI bit is set and the interrupt enable FIFO_UDRE is set. Reading this register has no affect on the interrupt status. DCR_INTI_SHDW This bit is a shadow of the DCR_INTI bit in the SBI Insert Depth Check Interrupt Status Register. It is set when the DCR_INTI bit is set and the interrupt enable DCR_INT_EN is set. Reading this register has no affect on the interrupt status.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
199
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
This register will contain the interrupt status, even if the corresponding interrupt enable is not set.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
200
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.7 Line Clock/Data Interface Register 0x100: RCAS Indirect Link and Time-slot Control Register Bit 15 14 13 12:8 7:5 4:0 R/W Type R R/W R/W R/W Function BUSY RWB Unused LINK[4:0] Unused TSLOT[4:0] Default X 0 0 0 X 00
This register provides the link number and time-slot number used to access the time-slot provision RAM. Writing to this register triggers an indirect register access. TSLOT[4:0]: The indirect time-slot number bits (TSLOT[4:0]) indicate the time-slot to be configured or interrogated in the indirect access. For a channelized T1 link, time-slots 1 to 24 are valid. For a channelized E1 link, time-slots 1 to 31 are valid. For unchannelized links, only time-slot 0 is valid. LINK[4:0]: The indirect link number bits (LINK[4:0]) select amongst the 32 receive links to be configured or interrogated in the indirect access. RWB: The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the timeslot provision RAM. The address to the timeslot provision RAM is constructed by concatenating the TSLOT[4:0] and LINK[4:0] bits. Writing a logic zero to RWB triggers an indirect write operation. Data to be written is taken from the PROV, the VLDLBEN, and the VLINK[6:0] bits of the Indirect Link Data register. Writing a logic one to RWB triggers an indirect read operation. Addressing of the RAM is the same as in an indirect write operation. The data read can be found in the PROV, the VLDLBEN, and the VLINK[6:0] bits of the Indirect Link Data register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
201
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written; this is done to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
202
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x102: RCAS Indirect Link Data Register Bit 15:10 9 8 7 6:0 R/W Type R R/W R/W Function Unused VLDLBEN PROV Unused VLINK[6:0] Default X 0 0 X 00
The RCAS Timeslot Provision RAM maps either timeslots from a physical link or an entire physical link to a Virtual Link. It also provisions timeslots/links and enables Diagnostic Loopback. This register contains either: (1) the data read from the RCAS Timeslot Provision RAM after an indirect read operation or (2) the data to be inserted into the RCAS Timeslot Provision RAM during an indirect write operation. VLINK[6:0] VLINK[6:0] is the Virtual Link to which this RCAS LINK/TSLOT is mapped. Valid values are 0x00 to 0x53. For proper operation, timeslots from multiple physical links cannot be mapped to the same VLINK. After an indirect read operation has been completed, VLINK[6:0]) reports the virtual link number read from the RCAS Timeslot Provision RAM. The Virtual Link number to be written to the RCAS Timeslot Provision RAM in an indirect write operation must be set up in this register before triggering the write. VLINK[6:0] reflects the value written until the completion of a subsequent indirect read operation. PROV The indirect provision enable bit (PROV) reports the timeslot provision enable flag read from the timeslot provision RAM after an indirect read operation has been completed. The provision enable flag to be written to the timeslot provision RAM in an indirect write operation must be set up in this register before triggering the write. When PROV is set high, the current receive data byte is processed as part of the virtual link (as indicated by VLINK[6:0]). When PROV is set low, the current time-slot does not belong to any virtual
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
203
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
link and the receive data byte is ignored. PROV reflects the value written until the completion of a subsequent indirect read operation. VLDLBEN When the indirect virtual link based diagnostic loopback enable bit VLDLBEN=1, the current receive data byte will be over-written by a data byte retrieved from the loopback FIFO of the Virtual Link as indicated by VLINK[6:0]. When VLDLBEN=0, the current receive data byte is processed normally. VLDLBEN reports the value read from the RCAS Timeslot Provision RAM after an indirect read operation has been completed. VLDLBEN must be set up in this register before triggering an indirect write. VLDLBEN reflects the value written until the completion of a subsequent indirect read operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
204
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x104: RCAS Framing Bit Threshold Bit 15:7 6:0 Type R R/W Function Unused FTHRES[6:0] Default X 0x3F
This register contains the threshold used by the clock-activity monitor to detect framing bits/bytes. FTHRES[6:0] The framing bit threshold bits (FTHRES[6:0]) contain the threshold used by the clock activity monitor to detect for the presence of framing bits. A counter in the clock-activity monitor increments at each REFCLK and is cleared by a rising edge of the RSCLK. When the counter exceeds the threshold given by FTHRES[6:0], a framing bit/byte has been detected. FTHRES[6:0] should be set as a function of the REFCLK period and the expected gapping width of RSCLK during framing bits/bytes. For E1 only device operation, the following equation should be used to determine the acceptable range of values for FTHRES: REFCLK .Freq REFCLK .Freq RSCLK .E1.Freq * 1.5 < FTHRES < RSCLK .E1.Freq * 7 For T1 device operation and mixed T1 and E1 device operation (T1 requirements are more rigorous), the following equation should be used to determine FTHRES: REFCLK .Freq FTHRES RSCLK .T 1.Freq * 1.5
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
205
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x106: RCAS Link Disable Bit 15 14:7 6:0 R/W Type R Function VLDIS Unused DVLINK[6:0] Default 0 X 0
This register allows the squelching of output data from a particular virtual link. DVLINK[6:0]: The disable virtual link bits (DVLINK[6:0]) specify the virtual link whose output data from the RCAS are to be squelched. When VLDIS is set high, the virtual link specified by DVLINK[6:0] is disabled, even if the virtual link is provisioned. VLDIS: When set high, the virtual link disable bit (VLDIS) squelches valid data on the output of RCAS for the virtual link indicated by DVLINK[6:0].
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
206
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x140- 0x17E: RCAS Link #0 to Link #31 Configuration Bit 15:3 2 1 0 Type R R/W R/W R/W Function Unused Reserved E1 CEN Default X 0 0 0
This register configures operational modes of receive link #0 to link #31 (RSDATA[N]/ RSCLK[N] where 0 N 31). CEN: The channelize enable bit (CEN) configures link #N for channelized operation. When CEN=1, RSCLK[N] must be gapped during the T1 framing bit and during the E1 framing byte. The data bit on RSDATA[N] that is clocked in by the first rising edge of RSCLK[N] after an extended low period is considered to be the most significant bit of time-slot 1. When CEN=0, link #N is unchannelized. The E1 register bit is ignored. RSCLK[N] must be gapped during non-data bits. All data bits are treated as a contiguous stream with arbitrary byte alignment. E1: The E1 frame structure select bit (E1) configures link #N for channelized E1 operation when CEN is set high. RSCLK[N] is held low during the FAS and NFAS framing bytes. The data bit on RSDATA[N] that is associated with the first rising edge of RSCLK[N] after an extended low period is considered to be the most significant bit of time-slot 1. Link data is present at time-slots 1 to 31. When E1 is set low and CEN is set high, link #N is configured for channelized T1 operation. RSCLK[N] is held low during the framing bit. The data bit on RSDATA[N] that is associated with the first rising edge of RSCLK[N] after an extended low period is considered to be the most significant bit of time-slot 1. Link data is present at time-slots 1 to 24. E1 is ignored when CEN is set low.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
207
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x180: TCAS Indirect Link and Time-slot Control Register Bit 15 14 13 12:8 7:5 4:0 R/W R/W Type RO R/W Function Busy RWB Unused LINK[4:0] Unused TSLOT[4:0] Default X 0 X 0 X 0
This register provides the link number and time-slot number used to access the timeslot provision RAM. Writing to this register triggers an indirect register access and transfers the contents of the Indirect Link Data register to an internal holding register. TSLOT[4:0] The indirect time-slot number bits (TSLOT[4:0]) indicate the time-slot to be configured or interrogated in the indirect access. For a channelized T1 link, time-slots 1 to 24 are valid. For a channelized E1 link, time-slots 1 to 31 are valid. For unchannelized links, only time-slot 0 is valid. LINK[4:0] The indirect link number bits (LINK[4:0]) select amongst the 32 transmit links to be either configured or interrogated in the indirect access. RWB The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the timeslot provision RAM. The address to the timeslot provision RAM is constructed by concatenating the TSLOT[4:0] and LINK[4:0] bits. Writing a logic zero to RWB triggers an indirect write operation. Data to be written is taken from the PROV and the VLINK[6:0] bits of the Indirect Data register. Writing a logic one to RWB triggers an indirect read operation. Addressing of the RAM is the same as in an indirect write operation. The data read can be found in the PROV and the VLINK[60] bits of the Indirect Link Data register after the BUSY bit has cleared.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
208
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
BUSY The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be cleared (low). Alternatively, BUSY will be set high when TCAS first comes out of reset until the RAM has been initialized. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence. Any indirect operation that is initiated while BUSY is still high will be corrupted.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
209
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x182: TCAS Indirect Link Data Register Bit 15:9 8 7 6:0 R/W R/W Type Function Unused PROV Unused VLINK[6:0] Default X 0 X 0
The TCAS Timeslot Provision RAM maps Virtual Links to either timeslots in a physical link or to an entire physical link. It also provisions timeslots. This register contains either: (1) the data read from the TCAS Timeslot Provision RAM after an indirect read operation or (2) the data to be inserted into the TCAS Timeslot Provision RAM during an indirect write operation. VLINK[6:0] VLINK[6:0] is the Virtual Link from which this TCAS LINK/TSLOT is mapped. Valid values are 0x00 to 0x53. For proper operation, timeslots from multiple physical links cannot be mapped to the same VLINK. After an indirect read operation has been completed, VLINK[6:0]) reports the virtual link number read from the TCAS Timeslot Provision RAM. The Virtual Link number to be written to the TCAS Timeslot Provision RAM in an indirect write operation must be set up in this register before triggering the write. VLINK[6:0] reflects the value written until the completion of a subsequent indirect read operation. PROV The indirect provision enable bit (PROV) reports the timeslot provision enable flag read from the timeslot provision RAM after an indirect read operation has been completed. The provision enable flag to be written to the timeslot provision RAM in an indirect write operation must be set up in this register before triggering the write. When PROV is set high, the current time-slot is assigned to the virtual link as indicated by VLINK[6:0]. When PROV is set low, the time-slot does not belong to any virtual link. The transmit link data is set to the contents of the Idle Time-slot Fill Data register. PROV reflects the last value read or written until the completion of a subsequent indirect read operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
210
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x184: TCAS Framing Bit Threshold Bit 15:7 6:0 R/W Type Function Unused FTHRES[6:0] Default X 0x1F
This register contains the threshold used by the clock activity monitor to detect for framing bits/bytes. FTHRES[6:0] The framing bit threshold bits (FTHRES[6:0]) contains the threshold used by the clock activity monitor to detect the presence of framing bits. A counter in the clock activity monitor increments at each REFCLK and is cleared by a rising edge of the TSCLK. When the counter exceeds the threshold given by FTHRES[6:0], a framing bit/byte has been detected. FTHRES[6:0] should be set as a function of the REFCLK period and the expected gapping width of TSCLK during framing bits/bytes. For E1 only device operation, the following equation should be used to determine the acceptable range of values for FTHRES: REFCLK .Freq REFCLK .Freq TSCLK .E1.Freq *1.5 < FTHRES < TSCLK .E1.Freq * 7 For T1 device operation and mixed T1 and E1 device operation (T1 requirements are more rigorous), the following equation should be used to determine FTHRES: REFCLK .Freq FTHRES TSCLK .T 1.Freq * 1.5
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
211
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x186: TCAS Idle Time-slot Fill Data Bit 15:8 7:0 R/W Type Function Unused FDATA[7:0] Default X 0xFF
This register contains the data to be written to the disabled time-slots of a channelized link. FDATA[7:0] The fill data bits (FDATA[7:0]) are transmitted during disabled (PROV set low) time-slots or virtual links.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
212
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x188: TCAS Link Disable Register Bit 15 14:7 6:0 R/W Type R/W Function VLDIS Unused DVLINK[6:0] Default 0 X 0
This register indicates a virtual link that is to be disabled (unprovisioned) while individual time-slots are changed. This allows virtual links to either turn on or off at once instead of gradually while each time-slot in the provisioning RAM is written. DVLINK[6:0] The disable virtual link bits (DVLINK[6:0]) indicate the virtual link to be disabled. If VLDIS=1, all time-slots mapped to this virtual link will be forced unprovisioned, and the value in FDATA[7:0] will be transmitted. VLDIS The virtual link disable bit (VLDIS) disables the virtual link in DVLINK[6:0]. When VLDIS=1, all time-slots mapped to DVLINK[6:0] will be forced unprovisioned, and the PROV bit of those time-slots will be ignored. When VLDIS=0, the virtual link's provisioning state is set by the PROV bit.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
213
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x1C0 - 0x1FE: TCAS Link #0 to Link #31 Configuration Bit 15:3 2 1 0 R/W R/W R/W Type Function Unused Reserved E1 CEN Default X 0 0 0
This register configures the operational modes of transmit link #0 to link # 31 (TSDATA[N] / TSCLK[N]; where 0 N 31 ). CEN The channelize enable bit (CEN) configures link #N for channelized operation. When CEN=1, TSCLK[N] must be gapped during the T1 framing bit or the E1 framing byte. Thus, on the first rising edge of TSCLK[N] after the extended low period, a downstream device can sample the MSB of timeslot one. When CEN=0, Link #N is unchannelized, and the E1 register bit is ignored. TSCLK[N] can be gapped during non-data bits, and all data bits are treated as a contiguous stream without regard to timeslots. E1 The E1 frame structure select bit (E1) configures link #N for channelized E1 operation when CEN is set high. TSCLK[N] is held low during the FAS and NFAS framing bytes. The most significant bit of time-slot 1 is placed on TSDATA[N] on the last falling edge of TSCLK[N] ahead of the extended low period. Link data is present at time-slots 1 to 31. When E1 is set low and CEN is set high, link #N is configured for channelized T1 operation. TSCLK[N] is held low during the framing bit. The MSB of time-slot 1 is placed on TSDATA[N] on the last falling edge of TSCLK[N] ahead of the extended low period. Link data is present at time-slots 1 to 24. E1 is ignored when CEN is set low.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
214
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.8 RIPP Registers Register 0x200:RIPP Control Bit 15 14 13 12:0 RIPP_BUSY This is a status signal indicating that the RIPP main-state machine is currently active. This bit is generated by RIPP. RIPP_EN The RIPP_EN enables the RIPP main state machine for normal operations. When RIPP_EN = 0 and RIPP_BUSY = 0, all RIPP operations are disabled. The RIPP_EN should be set to a `1' for normal operations after the initialization of RIPP context memory. Type R/W R/W R Function RIPP_EN Reserved RIPP_BUSY Reserved Default 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
215
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x202:RIPP Indirect Memory Access Control Bit 15 14 13 12:10 9:0 R/W Type RO R/W R/W Function MEM_BUSY MEM_RWB MEM_SEL Reserved MEM_ADDR 0 Default 0 0 0
This register controls the indirect access to the internal memory. There are two separate RAMs used by RIPP. One is the configuration memory, which holds the configuration information for all groups and links programmed by the microprocessor; the other is the context memory, which stores the state context used as the working space for the RIPP internal state machine. Each of them is 32-bits wide and contains 1024 words. MEM_ADDR: The indirect memory address (MEM_ADDR [9:0]) indicates the memory word address to be read or written. The memory-address organization of the internal RAMs is shown in Table 5 and Table 6. Table 5 Configuration Memory Address Space Description Group configuration record area. TX link configuration record area. Reserved RX Link Configuration Record area. Reserved
Address space 0x000 - 0x29F 0x2A0 - 0x2F3 0x2F4 - 0x34F 0x350 - 0x3A3 0x3A5 - 0x3FF
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
216
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Table 6
Context Memory Address Space Description Group context record area. TX link context record area. Reserved RX link context record area. Reserved
Address space 0x000 - 0x29F 0x2A0 - 0x347 0x348 - 0x34F 0x350 - 0x3F7 0x3F8 - 0x3FF MEM_SEL:
The memory select (MEM_SEL) is used to select between the two internal RAMs. A logic `0' selects the configuration memory, while a logic `1' selects the context memory. MEM_RWB: The memory indirect access control bit (MEM_RWB) selects between a configure (write) or interrogate (read) access to the RIPP internal context RAM. Writing a logic 0 to MEM_RWB triggers an indirect write operation. Data to be written is taken from the RIPP Indirect Memory Data registers. Writing a logic 1 to MEM_RWB triggers an indirect read operation. The read data can be found in the RIPP Indirect Channel Data registers MEM_BUSY: The memory indirect access status bit (MEM_BUSY) reports the progress of an indirect access. To trigger an indirect access, MEM_BUSY is set high when this register is written; it stays high until the access is complete; at that point, MEM_BUSY is set low. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
217
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x204 - 0x206:RIPP Indirect Memory Data Register Array Address 0x204 0x206 Bit 15:0 15:0 Type R/W R/W Function MEM_DATA_LSB MEM_DATA_MSB Default 0 0
MEM_DATA_LSB: The MEM_DATA_LSB represents either: (1) the least significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared. MEM_DATA_MSB: The MEM_DATA_MSB represents either: (1) the most significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared. The actual memory data structure is shown in Table 7 through Table 13.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
218
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RIPP Group Configuration Record Memory Purpose: Contains the PM programmed configuration data for the corresponding groups. Usage: IMA Groups only. Maintained by: PM. Record Size: 16 32-bit words. MEM_ADDR = Area_base_address + Group_tag * 0x10 + Word Offset Table 7 Word 0 RIPP Group Configuration Record Structure Bit 31:24 Data field IMA_OAM_LABEL Description IMA OAM label value for the group. This indicates the IMA version for the current group, and is used to compare against the IMA version number carried in octet 6 of the incoming ICP cells.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
219
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 23:22
Data field GROUP_SYM_MO DE
Description Group symmetry mode. This is programmed by PM during group configuration. It is then used by RIPP to compare against the Group Symmetry mode field in the incoming ICP cells during group start-up process. If the two values do not match, the start-up process will be aborted. This field is also inserted into outgoing ICP cells. The supported values for this field are: "00": Symmetrical configuration and operation "01": Symmetrical configuration and asymmetrical operation "10": Asymmetrical configuration and asymmetrical operation "11": Reserved
21
GROUP_ICP_FWD _EN
Group ICP cell forwarding enable. `0': Disable ICP cell forwarding to PM. `1': Enable ICP cell forwarding to PM. An interrupt will be generated upon each ICP cell to be forwarded to PM, and the content of the ICP cell will be copied to microprocessor's directly accessible registers.
20
Group_ICP_FWD_Fi Group ICP cell forwarding filtering lter enable. `0': No filtering. All ICP cells from RDAT will be forwarded to PM. `1': Filtering. RIPP will filter out the ICP cells which carry no new information (determined by the SCCI field) before forwarding to PM.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
220
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 19
Data field IMA_10_ENABLE
Description IMA version 1.0 style link state reporting enable. This field selects how the link state field in the incoming and outgoing ICP cells should be interpreted. Note that this bit will be ignored if the group is in asymmetric configuration mode. `0': IMA version 1.1 style (default) `1' IMA version 1.0 style.
18:10 9
RESERVED PM_ADJUST_DELA Y_DONE_INT_EN PM adjust delay procedure done Interrupt enable `0' Interrupt not enabled `1' Interrupt enabled.
8
FE_TRL_INT_EN
Invalid RX TRL Interrupt enable `0' Interrupt not enabled `1' Interrupt enabled.
7
GROUP_TIMING_I NT_EN
Group timing interrupt enable `0' Interrupt not enabled `1' Interrupt enabled. FE Timeout Interrupt Enable: `0' Interrupt not enabled `1' Interrupt enabled. Group Timeout Enable. `0' Interrupt not enabled `1' Interrupt enabled. FE Abort Interrupt Enable. `0' Interrupt not enabled `1' Interrupt enabled.
6
FE_TIMEOUT_INT_ EN
5
GROUP_TIMEOUT _INT_EN
4
FE_ABORT_INT_E N
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
221
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 3
Data field NE_ABORT_INT_E N
Description NE Abort Interrupt Enable `0' Interrupt not enabled `1' Interrupt enabled. GTSM Interrupt Enable `0' Interrupt not enabled `1' Interrupt enabled.
2
GTSM_INT_EN
1
FE_GSM_INT_EN
FE GSM Interrupt Enable `0' Interrupt not enabled `1' Interrupt enabled.
0
NE_GSM_INT_EN
NE GSM Interrupt Enable `0' Interrupt not enabled `1' Interrupt enabled.
1
31:24
TX_IMA_ID
IMA ID value to use in the TX (outgoing) ICP cells. This field is programmed by PM during group record initialization.
23:22
TX_M
Transmit IMA frame length (M). Used by TIMA in the transmit IMA operation. "00": M = 32 "01": M = 64 "10": M = 128 "11": M = 256
21:16
P_TX
Minimum number of active TX links required in the group in order for the group to be operational. TX End-to-end channel. This data field is used by RIPP to generate the endto-end channel field in the outgoing ICP cells.
15:8
TX_END_CHANNE L
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
222
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 7
Data field TX_CLK_MODE
Description Transmit clock mode. "0": ITC mode. "1": CTC mode. This field is used in the outgoing TX ICP cells. Note the actual clock mode used by TIMA may differ from this. After a group is added, this field should not be changed, unless a group restart is to be issued.
6:0 2 31:25 24
RESERVED RESERVED RX_IMA_ID_CFG_E This bit selects whether the IMA ID N value used in the RX direction should be configured by PM or captured from incoming ICP cells. `0': IMA ID captured from ICP cells and saved in context memory (RX_IMA_ID_CAP). `1': IMA ID configured by PM in the RX_IMA_ID_CFG field in the configuration memory.
23:16 15:14 13:8
RX_IMA_ID_CFG RESERVED P_RX
RX IMA ID value programmed by PM. Minimum number of active RX links required in the group in order for the group to be operational.
7:4
Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
223
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 3:0
Data field RX_M_RANGE
Description 4-bit vector indicating the M values deemed acceptable. Used during group parameter negotiation. Bit 3: M = 256 (`0': unacceptable, `1': acceptable) Bit 2: M = 128 (`0': unacceptable, `1': acceptable) Bit 1: M = 64 (`0': unacceptable, `1': acceptable) Bit 0: M = 32 (`0': unacceptable, `1': acceptable)
3
31:26 25:16
RESERVED RX_DELAY_TOL Receive differential Delay tolerance. This field is the maximum allowed amount of delay to be accumulated for a link within the group. This threshold will be used in determining if links are acceptable for adding to a group. This value must be set at least 8 cells greater than the RX_DELAY_GUARDBAND.
15:11 10
RESERVED RX_ADD_DELAY_E N Receive IMA group delay-adding enable. When enabled, the RIPP will roll back the RDAT read pointers, which effectively adds more delay to the group, in order to accommodate the new link if it is necessary. `0': disabled. `1': enabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
224
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 9:0
Data field RX_DELAY_GUAR D_BAND
Description Receive IMA group link differential delay guard-band value. This is the suggested distance between RDAT cell write pointer on the slowest link and the RDAT cell read pointer (expressed in the unit of cells), which is set by RIPP when it activates the RX data path during group start-up. This value is not used after group start-up. A guardband placed at group startup will help allow admittance of slower links later. Note that this is only a recommended behavior; if necessary, RIPP may choose to not to maintain this guard band in order to accept a slow link.
4
31:0
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
225
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word 5:15
Bit 31:0
Data field RX_PHY_TABLE
Description This table contains the physical link numbers of all RX links assigned to the group by PM. The table has 32 entries that are packed into 11 32-bit words; each entry corresponds to one RX link. The order of links in the table is determined by PM prior to group start-up, and is not related to the LIDs or physical link numbers. Entries in this table correspond to bits in the RX_LINK_VEC. See Table 8 for the detailed bit mapping. In symmetrical configuration mode, this table needs to be configured identical to the TIMA Transmit-LID-toPhysical-Link Mapping Table , where the physical link pointers are loaded into the table indexed by the TX LID (i.e. if TX LID 2 was assigned TX Physical Link 45, then RX Physical link pointer 2 would be set to 45). In asymmetrical configuration mode, this table may be loaded in any order, regardless of the TX Physical link pointers or RX LID values, as long as the entries correspond to bits in the RX_LINK_VEC. A simple method for loading entries into this table is to begin at zero and fill the table from there (although holes will appear as links are deleted).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
226
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Table 8 Word 0
RX physical link table Bit 31:27 26:20 19:17 16:10 9:7 6:0 Description Reserved RX Physical link pointer 2 Reserved RX Physical link pointer 1 Reserved RX Physical link pointer 0 Reserved RX Physical link pointer 31 Reserved RX Physical link pointer 30
...... Word 11
..... 31:17 16:10 9:7 6:0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
227
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RIPP TX Link Configuration Record Memory Purpose: Contains the PM programmed configuration data for the corresponding TX links. Usage: IMA Groups only. Maintained by: PM. Record Size: 1 32-bit word. MEM_ADDR = Area_base_address + physical link number * 0x1+ Word Offset Table 9 Word 0 RIPP TX Link Configuration Record Structure Bit 31:23 22:16 Data field RESERVED TX_LINK_GROUP_ TAG Group tag value of the group which this TX physical link has been assigned to. This field is programmed by PM during link record initialization. 15:11 TX_LID LID value for the physical link. This field is programmed by PM during link record initialization. 10:5 4 RESERVED TX_ACTIVE_INT_E N TX Active interrupt enable. `0' Interrupt not enabled Description
3
`1' Interrupt enabled. FE_RX_UNUSABLE FE RX Unusable interrupt enable. _INT_EN `0' Interrupt not enabled FE_RX_DEFECT_I NT_EN `1' Interrupt enabled. FE RX Defect interrupt enable. `0' Interrupt not enabled `1' Interrupt enabled.
2
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
228
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 1
Data field TX_TIMEOUT_INT_ EN RESERVED
Description Tx_Timeout interrupt enable. `0' Interrupt not enabled `1' Interrupt enabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
229
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RIPP RX Link Configuration Record Memory Purpose: Contains the PM programmed configuration data for the corresponding RX links. Usage: IMA Groups only. Maintained by: PM. Record Size: 1 32-bit word. MEM_ADDR = Area_base_address + physical link number * 0x1+ Word Offset Table 10 Word 0 RIPP RX Link Configuration Record Structure Bit 31:23 22:16 Data field RESERVED RX_LINK_GROUP_ TAG Group tag value of the group to which this RX physical link has been assigned. This field is programmed by PM during link record initialization. 15:11 10 RESERVED RX_ACTIVE_INT_E N IDLE_CELL_INT_E N FE_TX_UNUSABLE _INT_EN DIFF_DELAY_INT_ EN RX Active Interrupt enable. `0' Interrupt not enabled `1' Interrupt enabled. Idle cell interrupt enable. `0' Interrupt not enabled `1' Interrupt enabled. FE TX UNUSABLE Interrupt enable `0' Interrupt not enabled `1' Interrupt enabled. Differential Delay Interrupt enable `0' Interrupt not enabled `1' Interrupt enabled. Description
9
8
7
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
230
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 6
Data field LODS_OVERRUN_I NT_EN LODS_UNDERRUN _INT_EN LCD_INT_EN
Description LODS, DCB overrun Interrupt enable `0' Interrupt not enabled `1' Interrupt enabled. LODS, DCB under- Interrupt enable `0' Interrupt not enabled `1' Interrupt enabled. LCD Interrupt enable `0' Interrupt not enabled `1' Interrupt enabled. LIF Interrupt enable `0' Interrupt not enabled `1' Interrupt enabled. Invalid_ICP interrupt enable `0' Interrupt not enabled `1' Interrupt enabled. Rx Timeout Interrupt enable. `0' Interrupt not enabled `1' Interrupt enabled.
5
4
3
LIF_INT_EN
2
INVALID_ICP_INT_ EN RX_TIMEOUT_INT
1
0
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
231
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RIPP Group Context Record Memory Purpose: Contains the current state machine states and status information for the corresponding groups. Usage: IMA Groups only. Maintained by: RIPP. Record Size: 16 32-bit words. MEM_ADDR = Area_base_address + Group_tag * 0x10 + Word Offset Unless otherwise specified, all data and the reserved fields should be cleared (to all `0's) by PM prior to adding the group; they will be cleared by RIPP during a group restart process Table 11 Word 0 RIPP Group Context Record Structure Bit 31 Data field GROUP_EN Description Indicates if the current group is enabled. This bit is set by PM using the add_group command, and cleared by PM using the delete_group command. `0': not enabled (group in NOT_CONFIGURED state) `1': the group is enabled and currently active. This field will remain at its current value during a group-restart.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
232
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 30:27
Data field GSM
Description Group state machine state. "0000": Start-up "0001": Start-up-Ack "0010": Config-Aborted - Unsupported M "0011": Config-Aborted - Incompatible group symmetry "0100": Config-Aborted - Unsupported IMA versions "0111": Config-Aborted - Other reasons "1000": Insufficient-links "1001": Blocked "1010": Operational Others: Reserved
26:24 23
RESERVED GTSM Group traffic state machine state "0": down (no ATM data transmission is allowed) "1": up (ATM data transmission is allowed)
22:21
GWP_Active
Group wide procedure in progress. "00": No group-wide procedure is currently in progress. "01": Group start-up procedure is in progress. "10": LASR is in progress. Others: reserved
20
reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
233
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 19
Data field LSM_SYNC_TRAN S
Description Indicates whether there has been a transition on the LSM_SYNC state machine in the last processing cycle for the group. `0': There was no transition. `1': There was a transition.
18:16
LSM_SYNC
Current state of LSM_SYNC state machine, which is used to synchronize LSM transition during group startup and LASR procedure. "000": IDLE "001": LSM_SYNC_GETM (Group parameter negotiation finished). "010": LSM_SYNC_RX_USABLE (RX ready to go to usable state, delay evaluation needed). "011": LSM_SYNC_RX_ACTIVE_RDAT (RX ready to start receiving, starting RDAT and IDCC) "100": LSM_SYNC_RX_ACTIVE (RX ready to report ACTIVE to FE) "101": LSM_SYNC_TX_ACTIVE (TX ready to report active to FE) Far-end GSM states. This is copied from the group state field in the incoming ICP cells
15:12
FE_GSM
11:6 5:0
NUM_TX_LINKS_A Total number of tx links that are CTIVE currently in an active state. NUM_RX_LINKS_ ACTIVE Total number of rx links that are currently in an active state.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
234
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word 1
Bit 31
Data field GROUP_TIMER_E N1
Description Group timer 1 enable. The enable bit is set when the timer is loaded; it is cleared when either a timeout occurs or the timer is disabled. Group-level timer 1. Implemented as 4bit down counter. The counter is loaded with the appropriate timeout value when the timer is enabled, and decrements on every timer tick, until it reaches zero. A timeout event is declared when a timer tick occurs and the counter equals zero, if the timer is enabled. Group timer 2 enable. The enable bit is set when timer is loaded; it is cleared when either a timeout occurs or the timer is disabled. Group-level timer 2. Implemented as 4bit down counter. The counter is loaded with the appropriate timeout value when the timer is enabled, and decrements on every timer tick, until it reaches zero. A timeout event is declared when a timer tick occurs and the counter equals to zero, if the timer is enabled.
30:28 27:24
RESERVED GROUP_TIMER1
23
GROUP_TIMER_E N2
22:20 19:16
RESERVED GROUP_TIMER2
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
235
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 15
Data field GROUP_INT_ACTI VE
Description Indicates whether there is currently an interrupt active from the group (including all the links). This bit is set to `1' by RIPP upon generating a interrupt and cleared upon PM issuing a read_event command. No new interrupt will be generated once this bit is set. This field will remain at its current value during a group-restart.
14
GROUP_INHIBIT_ STATUS
Group inhibiting status. `0': Group is not inhibited. `1': Group is inhibited. This field can be programmed by PM during group record initialization, and can be modified later using inhibit_group/not_inhibit_group commands. Note it is possible to inhibit the group before actually issuing the add_group command. This field will remain at its current value during a group-restart.
13
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
236
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 12
Data field FE_TRL_STATUS
Description When set, indicates that the TRL specified in the last received ICP cell is a link that is "in_group". If the TRL received in the last ICP cell is not "in_group", this bit is cleared, and the TRL remains with the last specified valid TRL. During the period in which the specified TRL is not "in_group", the scheduling of the cells played out to the ATM layer is not accurate and the depth of the DCB buffers may drift and cause DCB buffer overruns or underruns. If on group startup, the TRL is not detected to be "in_group", the group will not start up. Group timing error. The FE IMA transmit clock mode does not match the NE transmit clock mode. PM adjust_delay procedure done interrupt. The adjust_delay procedure invoked by the PM command has successfully finished or aborted. FE TRL Interrupt. TheFE_TRL_STATUS bit has changed state. Group timing interrupt. The GROUP_TIMING_ERROR has changed state. Startup-Ack Timeout: The FE fails to transition into the STARTUP-ACK state prior to the NE timing out. GSM fails to come out of Insufficientlinks state during a group start-up procedure before the relevant timer expires.
11
GROUP_TIMING_ ERROR RESERVED PM_ADJUST_DEL Y_INT
10 9
8
FE_TRL_INT
7
GRP_TIMING_INT
6
FE_TIMEOUT_INT
5
GR_TIMEOUT_INT
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
237
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 4 3
Data field FE_ABORT_INT NE_ABORT_INT
Description FE entered CONFIG-ABORTED state during group start-up. Entered NE Config aborted state. FE group parameters unacceptable during group start-up. Possible causes are IMA OAM label proposed by FE not acceptable. Group symmetry proposed by FE not acceptable. RX M proposed by FE not acceptable GTSM state change. FE GSM state change. NE GSM state change. Current TX SCCI value for the group. Each time the Tx ICP cell class B&C info changes, the SCCI field increments by one. This field will remain at its current value during a group-restart.
2 1 0 2 31:24
GTSM_INT FE_GSM_INT NE_GSM_INT TX_SCCI
23:16
TX_RX_TEST_PT N
Tx test pattern field to be sent in the transmit ICP cell. If the test link command active bit in the incoming ICP cell from RDAT is set, this field is updated using the TX test pattern field in the same ICP cell; otherwise this field is set to "FF" internally. This field will remain at its current value during a group-restart.
15:7
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
238
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 6:0
Data field TX_TRL_PHY_ID
Description Physical link ID for TX TRL. This field need to be programmed by PM prior to group startup to ensure TX IDCC ticks are generated and TIMA start sending ICP cells once the group is added. Once a group is added, the TRL can be changed by using UPDATE_TX_TRL command. This field will remain at its current value during a group-restart.
3
31:25 24
RESERVED TX_GSM_2FRAME Indicates whether at least 2 TX frames has been transmitted since the last time we have a gsm change. This is used to make sure the group status and info field stays the same for at least 2 TX frames, as stated in IMA spec. `0': Less than 2 frames have been transmitted since the last GSM transition. `1': At least 2 frames have been transmitted since the last GSM transition.
23:16
TX_LAST_GSM_T RANS_IFSN
The TX frame sequence number being transmitted last time there is a GSM transition.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
239
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 15
Data field TX_TEST_EN
Description Enable Tx test pattern procedure. "0": Disabled. The test pattern field in the outgoing ICP cells will be filled with zeros. "1": Enabled. RIPP will copy the stored Tx_test_pattern info over to the test pattern field. This field is set and changed using the update_test_ptn PM command. This field will remain at its current value during a group-restart.
14:13 12:8
RESERVED TX_TEST_LID Tx LID of the test link. This field is set and changed using the update_test_ptn PM command. This field will remain at its current value during a group-restart.
7:0
TX_TX_TEST_PTN Tx test pattern field to be sent in the transmit ICP cell. This field is set and changed using the update_test_ptn PM command. This field will remain at its current value during a group-restart.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
240
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word 4
Bit 31:0
Data field TX_PHY_VALID
Description 32 bit vector in which each bit corresponds to one TX physical link in the TIMA Transmit LID to Physical Link Mapping Table "0": table entry not valid "1": table entry valid (physical link pointed by the corresponding TX_PHY_TABLE entry has been assigned to the current group.) This field will remain at its current value during a group-restart.
5
31:0
TX_LASR_ACT
32 bit vector in which each bit corresponds to one TX physical link in the TIMA Transmit LID to Physical Link Mapping Table. "0": the link is not currently involved in a LASR procedure. "1": the link is currently involved in an active LASR procedure.
6
31:30 29
RESERVED RX_FE_INFO_VALI This indicates whether the context data D fields captured from incoming ICP cells) or not. `0': Invalid. `1': Valid. This bit is set internally by RIPP during group start-up upon capturing the first valid incoming ICP cells. This field will remain at its current value during a group-restart.
28
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
241
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 27:26
Data field RX_M
Description Receive IMA frame length (M). This parameter is captured from incoming ICP cells during group-start-up negotiation process, and later used by RDAT in the receive IMA operation. "00": M = 32 "01": M = 64 "10": M = 128 "11": M = 256
25:24
FE_SYM_MODE
Group symmetrical mode as indicated by the FE in the latest ICP cell analyzed IMA OAM label value as indicated by the FE in the latest ICP cell analyzed Current RX SCCI value for the group. This value is captured from the incoming ICP cells and used to determine whether the ICP cell should be processed. This field will remain at its current value during a group-restart.
23:16 15:8
FE_IMA_OAM_LA BEL RX_SCCI
7:0
RX_IMA_ID
Stores the RX_IMA_ID. The value may be copied from the RX_IMA_ID_CFG field in the configuration memory if the RX_IMA_ID_CFG_EN bit is set, otherwise it is captured from the first incoming ICP cell after the group is added or restarted.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
242
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word 7
Bit 31:0
Data field RX_PHY_VALID
Description 32 bit vector in which each bit corresponds to one RX physical link in RX_PHY_TABLE. "0": table entry not valid "1": table entry valid (physical link pointed by the corresponding RX_PHY_TABLE entry has been assigned to the current group). This field is cleared by PM during group record initialization. It may be modified during normal operations by issuing the appropriate PM command, such as add_group, add_link, delete_group, delete_link. This field will remain at its current value during a group-restart.
8
31:0
RX_LASR_ACT
32 bit vector in which each bit corresponds to one RX physical link in RX_PHY_TABLE (which is located in RIPP Group configuration memory). "0": the link is not involved in LASR. "1": the link is currently involved in a active LASR procedure.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
243
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word 9
Bit 31:0
Data field RX_TEST_PTN_M ATCH
Description 32 bit vector in which each bit corresponds to the current test pattern match result on one RX link. The order of RX links is defined in RX_PHY_TABLE (which is located in the RIPP Group configuration memory). "0": the Rx_test_pattern field in the incoming ICP cells on the link does not match the TX_test_pattern field in the outgoing ICP cells. "1": the Rx_test_pattern field in the incoming ICP cells on the link matches the TX_test_pattern field in the outgoing ICP cells.
10
31:0
RX_LID_ALLOC
32 bit vector in which each bit indicates whether the LID value represented by the bit index is occupied. For example, Bit 31 corresponds to LID value 31, bit 0 corresponds to LID 0, and so on. `0': LID has not been allocated to any links. `1': LID has been allocated to one of the RX links in the group.
11
31 30:29 28:24 23:7
RX_TX_TEST_CM D Reserved RX_TX_TEST_LID reserved
The TX_TEST_CMD field captured from incoming ICP cells. The TX_TEST_LID field captured from incoming ICP cells.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
244
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 6:0
Data field Last_Scci_phy_link _id
Description Physical link ID of the rx link on which the last "analyzable" ICP cell comes. A ICP cell is considered analyzable if 1). the current processing cycle is ICP and 2). the ICP cell is valid, and 3). the ICP cell carries a new SCCI, or the ICP cell comes from the same link of the last analyzed ICP cell; and 4). RX_IMA_ID matches the configured value (or if no value is configured, the value captured from the first ICP cell if group is started/restarted)
12
31
RX_TRL_VALID
This indicates whether in the RX IDCC the TRL of the current group has been turned on or not. TRL is identified by the RX_TRL_PHY_ID field, which is translated from the TX_TRL_ LID in the incoming ICP cells, after it is validated by RIPP. `0': Invalid. TRL off. `1': Valid. TRL on. This bit is set internally by RIPP when it first turns on the TRL in RX IDCC (when LSM_SYNC reaches the right state and TRL LID has been validated). It is possible for the FE to change the TRL_LID during normal operations, in which case the new TRL LID will be verified again and saved.
30:23
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
245
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 22:16
Data field RX_TRL_PHY_ID
Description Receive timing reference physical link ID. RX_TRL_PHY_ID is translated via a lookup into the RX_PHY_TABLE using the TRL_LID field in the incoming ICP cells, and then used to control the Rx IDCC. The TRL LID info captured from incoming ICP cells. Indicates whether a adjust_delay procedure is current active. Adjust delay could be started by PM command adjust_delay, or internally by LASR procedure. `0': No delay adjustment is in progress. `1': Delay adjustment is in progress.
15:13 12:8 7
RESERVED RX_TRL_LID DELAY_ADJUST_ ACTIVE
6
DELAY_ADJUST_ RDAT_TOGGLE
The last value of the delay_toggle bit read from RDAT group context memory. A transition on this bit is used to determine the ongoing adjust_delay process is finished. Indicates whether the current adjust_delay process is started by PM. `0': the adjust-delay is started internally by LASR. `1' the adjust-delay is started by PM.
5
DELAY_ADJUST_I S_PM
4:0 10:15 31:0
RESERVED RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
246
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RIPP TX Link Context Record Memory Purpose: Contains the current state machine states and status information for the corresponding TX links. Usage: IMA Groups only. Maintained by: RIPP. Record Size: 2 32-bit words. MEM_ADDR = Area_base_address + physical link number * 0x2 + Word Offset Unless otherwise specified, all the data fields and the reserved fields should be cleared (to all `0's) by PM prior to adding the link, and will be internally cleared by RIPP during a group-restart. Table 12 Word 0 RIPP TX Link Context Record Structure Bit 31 Data field TX_LINK_EN Description Flag bit indicating whether the link is enabled or not. "0": not enabled, link in UNASSIGNED state "1: enabled. This field is set by RIPP during add_link or add_group command processing. It is cleared by RIPP upon finishing deleting the link. It may be polled by PM to determine the progress of link addition or deletion. This field will remain at its current value during a group-restart.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
247
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 30:27
Data field TX_LSM
Description TX Link state machine state. "0000": DELETED(NOT_IN_GROUP) "0010": UNUSABLE "1100": USABLE "1110": ACTIVE Others: reserved This field is cleared by PM during link record initialization.
26:16 15
RESERVED TX_LINK_TIMER_E N TX link timer enable. The enable bit is set when the timer is loaded; it is cleared when either a timeout occurs or the timer is disabled. TX link timer. Implemented as 4-bit down counter. The counter is loaded with the appropriate timeout value when the timer is enabled, and decrements on every timer tick, until it reaches zero. A timeout event is declared when a timer tick occurs and the counter equals zero, if the timer is enabled. Far end RX LSM state for the link. This is copied from the appropriate TX LSM state field in the incoming ICP cells.
14:12 11:8
RESERVED TX_LINK_TIMER
7 6:4
RESERVED FE_RX_LSM
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
248
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 3
Data field TX_LINK_PM_UNU SABLE
Description This field indicates the link has been considered unusable by PM. This bit is set up on PM issuing UNUSABLE_LINK command, and cleared up on PM issuing RECOVER_LINK command. This field is programmed by PM during link record initialization. This field will remain at its current value during a group-restart.
2:0
TX_LINK_PM_UNU SABLE_CAUSE
Cause specified by PM for the link to be unusable. This field is used by RIPP to notify FE. "000": No cause specified "010": Fault. "011": Mis-connected "100": Inhibited "101": Failed Others: Reserved (currently considered the same as no cause specified). This field is programmed by PM during link record initialization. This field will remain at its current value during a group-restart.
1
31:10
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
249
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 9:8
Data field FE_RX_DEFECT
Description Defect status reported in last receive ICP cell. 00) No defect 01) Physical Link Defect (e.g. LOS, OOF/LOF, LCD) 10) LIF 11) LODS Reserved
7:5 4 TX_ACTIVE_INT
3
2
Indicates that the NE TX LSM transitioned into/out of Active state. This bit is reset immediately after the read_event command is executed for the group of which this link is a member. FE_RX_UNUSABLE Indicates that FE RX LSM transitioned into/out of UNUSABLE state. _INT This bit is reset immediately after read_event command is executed for the group of which this link is a member. Indicates that the FE RX Defect FE_RX_DEFECT_I indication changed. NT This bit is reset immediately after read_event command is executed for the group of which this link is a member. TX_TIMEOUT_INT Indicates the LASR procedure timed out prior to the link entering the ACTIVE state. This bit is reset immediately after read_event command is executed for the group of which this link is a member.
1
0
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
250
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RIPP RX Link Context Record Memory Purpose: Contains the current state machine states and status information for the corresponding RX links. Usage: IMA Groups only. Maintained by: RIPP. Record Size: 2 32-bit words. MEM_ADDR = Area_base_address + physical link number * 0x2 + Word Offset Unless otherwise specified, all the data fields and the reserved fields should be cleared (to all `0's) by PM prior to adding the link, and internally cleared by RIPP during group restart. Table 13 RIPP Rx Link Context Record Structure DATA FIELD RX_LINK_EN DESCRIPTION Flag bit indicating if the link is enabled or not. "0": not enabled, link in UNASSIGNED state. "1: enabled. This field is set by RIPP during add_link or add_group command processing. It is cleared by RIPP upon finishing deleting the link. It may be polled by PM to determine the progress of link addition or deletion. This field will remain at its current value during a group-restart.
WORD BIT 0 31
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
251
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
WORD BIT 30:25
DATA FIELD RX_LSM
DESCRIPTION RX Link state machine state. "000000": START_UP, No M has been negotiated yet. "000010": DELETED, waiting for FE "000100": DELETED, waiting for DCB underrun "000110": UNUSABLE_NO_LID (report to FE as not_in_group) "001000": UNUSABLE "001010": UNUSABLE, waiting for DCB underrun "001100": Blocking, waiting for FE "110000": USABLE "110010": USABLE, waiting for data in DCB to be played out, reporting USABLE. "110011": USABLE, waiting for FE "110100": ACTIVE, waiting for RX cell reader to become active, reporting USABLE. "110110": ACTIVE, waiting for the global synchronization event to report ACTIVE to the FE. "111000: ACTIVE, reporting ACTIVE Others: reserved This field is cleared (UNASSIGNED state) by PM during link record initialization.
The LINK_PM_UNUSABLE_CAUSE will be used to encode the UNUSABLE states in outgoing ICP cells. The value transmitted in the ICP cell is a combination of part of the RX_LSM d part of the LINK_PM_UNUSABLE_CAUSE.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
252
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
WORD BIT 24 23
DATA FIELD reserved RX_LID_VALID
DESCRIPTION Flag bit indicating if the value in the RX_LID field is valid or not. "0": invalid "1: valid. This field is cleared by PM during link record initialization. It will be set by RIPP upon the success of RDAT LID validation.
22:21 20:16
RESERVED RX_LID LID value for the RX physical link. This field is cleared by PM during link record initialization. It will be set by RIPP upon the success of RDAT LID validation.
15
RX_LINK_TIMER_ EN
RX link timer enable. The enable bit is set when the timer is loaded; it is cleared when either a timeout occurs or the timer is disabled. RX link timer. Implemented as 4-bit down counter. The counter is loaded with the appropriate timeout value when the timer is enabled, and decrements on every timer tick, until it reaches zero. A timeout event is declared when a timer tick occurs and the counter equals zero, if the timer is enabled. Far end TX LSM state for the link. This is copied from the appropriate TX LSM state field in the incoming ICP cells.
14:12 11:8
RESERVED RX_LINK_TIMER
7 6:4
RESERVED FE_TX_LSM
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
253
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
WORD BIT 3
DATA FIELD RX_LINK_PM_UN USABLE
DESCRIPTION This field indicates the link has been considered unusable by PM. This bit is set up on PM issuing UNUSABLE_LINK command, and cleared upon PM issuing RECOVER_LINK command. This field is programmed by PM during link record initialization. This field will remain at its current value during a group-restart.
2:0
RX_LINK_PM_UN USABLE_CAUSE
Cause specified by PM for the link to be unusable. This field is used by RIPP to notify FE. "000": No cause specified "010": Fault. "011": Mis-connected "100": Inhibited "101": Failed Others: Reserved (currently considered the same as no cause specified). This field is programmed by PM during link record initialization. This field will remain at its current value during a group-restart.
1
31:21 20
RESERVED LINK_DELAY_GO OD The result of the last differential delay evaluation for the link.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
254
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
WORD BIT 19
DATA FIELD LODS_OVR
DESCRIPTION LODS, DCB overrun. Indicates that the DCB buffer is in an overrun condition. This occurs when the transport delay for the link is detected to be outside the programmed limit and the transport delay is longer than the other links within the group. LODS, DCB under-run. Indicates that the DCB buffer is in an underrun condition. LCD, Loss of Cell Delineation Defect is present on this link. LIF, A loss of IMA Frame defect condition is present on this link. RX LSM transition into/out of Active state. This bit is reset immediately after read_event command is executed for the group of which this link is a member.
18
LODS_UNDERRU N LCD LIF RESERVED RX_ACTIVE_INT
17 16 15:11 10
9
IDLE_CELL_INT
Physical layer idle cells were received on the RX link. This bit is reset immediately after read_event command is executed for the group of which this link is a member.
8
FE_TX_UNUSABL E_INT
FE TX LSM transitioned into or out of the UNUSABLE state. This bit is reset immediately after the read_event command is executed for the group of which this link is a member.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
255
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
WORD BIT 7
DATA FIELD DIFF_DELAY_INT
DESCRIPTION Differential Delay is out of bounds on link addition/or recovery. This indicates the delay on the link was out of bounds of the programmed differential delay and the link failed to come up for this reason. This bit is reset immediately after the read_event command is executed for the group of which this link is a member.
6
LODS_OVERRUN_ LODS, DCB overrun. An overrun condition occurred. INT This bit is reset immediately after read_event command is executed for the group of which this link is a member.
5
LODS_UNDERRU N_INT
LODS, DCB underrun. Indicates that the DCB buffer experienced an underrun condition and has disabled itself from forwarding traffic to the ATM layer. An underrun occurs when the transport delay for the link is detected to be outside the programmed limit and the transport delay is smaller than the other links within the group In general, this will happen only if the transport delay of the link changes. An underrun condition requires that the link delay be revalidated prior to being placed back in service. This bit is reset immediately after the read_event command is executed for the group of which this link is a member.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
256
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
WORD BIT 4
DATA FIELD LCD_INT
DESCRIPTION A change of state of the LCD status bit was detected. This bit is reset immediately after read_event command is executed for the group of which this link is a member.
3
LIF_INT
A change of state of the LIF status bit was detected. This bit is reset immediately after read_event command is executed for the group of which this link is a member.
2
INVALID_ICP _INT
Invalid ICP parameters detected on RX link during validation of the ICP cell parameters causing validation to fail. Possible reasons include: Invalid LID (i.e., duplicate). Invalid ICP cell offset (out of range). Invalid RX IMA ID, which may indicate a misconnectivity problem. Invalid OAM label received after IMA version being determined through negotiation. Invalid Group symmetry received after symmetry being determined through negotiation. This bit is reset immediately after read_event command is executed for the group of which this link is a member.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
257
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
WORD BIT 1
DATA FIELD RX_TIMEOUT_INT
DESCRIPTION Indicates the LASR procedure timed out prior to the link entering the ACTIVE state. This bit is reset immediately after the read_event command is executed for the group of which this link is a member.
0
INVALID_FE_TX_I NT
Invalid FE TX LSM states were detected in a incoming non-errored ICP cell. This bit is reset immediately after the read_event command is executed for the group of which this link is a member.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
258
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x20C: RIPP Timer Tick Configuration Register Bit 15:0 Type R/W Function Timer_tick_interval Default 0x3473
Timer-tick_interval This value controls the interval between timer tick events. The timer ticks are internally generated by counting sysclk pulses. The count of sysclk pulses between sysclk pulses is a 26 bit integer, the most significant 16 bits of which are specified here, and the lower 10-bits are set to `0's internally. To give an example, a Timer_tick_interval value of 0 x 3473 represents a value of 0XD1CC00 (13,749,248 decimal) sysclk pulses; this translates to about 275 milliseconds in real time assuming a 50 MHz sysclk.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
259
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x20E: Group Timeout Register #1 Bit 15:12 11:8 7:4 3:0 Type R/W R/W R/W R/W Function Group_startup_ack_timeout Group_config_abort_timeout RX_usable_timeout RX_active_timeout Default 0x4 0x4 0x4 0x4
This register holds the time-out values used at different states of the group state machine or the group-wide procedures (such as group start-up and LASR). The actual time represented by the timeout value in this register can be obtained as: Real_time = Timeout_value * Internal_timer_tick_interval Group_config_abort_timeout: The timeout value determines how long the GSM should stay in Config_Aborted state before it can move back to Start-up state, if no new parameters are proposed by the FE and PM does not issue a restart_group command. Group_startup_ack_timeout: The timeout value determines how long the GSM should stay in Start-up-Ack state before it can move back to Start-up state, if the FE GSM is not in one of the following states: Start-up-Ack, Insufficient-Links, Blocked, or Operational. RX_usable_timeout: During the group start-up or LASR, this timeout value determines how long the RIPP should wait before it can move any RX LSMs to Usable state (unless all the RX links involved are out of defect status). In the case of group start-up, the timer is started when the GSM enters Insufficient-links state; during LASR, it is started when the PM issues add_link command. RX_active_timeout: During the group start-up or LASR, this timeout value determines how long the RIPP should wait before it can move any RX LSMs to Active state (unless all the links involved are being reported TX = Usable by the FE). The timer is started after the RX = usable synchronization point.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
260
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x210: Group Timeout Register #2 Bit 15:4 3:0 R/W Type Function Reserved TX_active_timeout 0x4 Default
This register holds additional group time-out values. TX_active_timeout: During the group start-up or LASR, this value determines how long the RIPP should wait before it can move any TX LSMs to Active state (unless all the links involved are being reported RX = Usable by the FE). In the case of group start-up, the timer is started when the GSM enters Insufficient-links state; during LASR, it is started when the PM issues add_link command.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
261
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x212: TX Link Timeout Register Bit 15:4 3:0 Type R/W R/W Function Reserved TX_link_deleted_timeout Default 0 0x4
This register holds the time-out values used at different states of the TX LSM. The actual time represented by the timeout value in this register can be obtained as: Real_time = Timeout_value * Internal_timer_tick_interval TX_link_deleted_timeout: During link deletion, this value determines how long the TX LSM should stay in the DELETED state before it can move to the UNASSIGNED state (if the FE does not report RX != Active).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
262
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x214: RX Link Timeout Register Bit 15:8 7:4 3:0 Type R/W R/W R/w Function Reserved RX_link_blocked_timeout RX_link_deleted_timeout Default 0 0x4 0x4
This register holds additional time-out values used at different states of the RX LSM. The actual time represented by the timeout value in this register can be obtained as: Real_time = Timeout_value * Internal_timer_tick_interval RX_link_deleted_timeout: In the case of link deletion, this value determines how long the RX LSM should stay in the DELETED state before it can move to the UNASSIGNED state (if the FE does not report TX != Active). RX_link_blocked_timeout: In the case of link inhibiting, this value determines how long the RX LSM should stay in the BLOCKED state before it can move to the UNUSABLE state (if the FE does not report TX != Active).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
263
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x216: RIPP Interrupt FIFO Bit 15 14 13:8 7:0 RO Type RO RO Function FIFO_BUSY FIFO_NOT_EMPTY Reserved Group tag 0 Default 0 0
This register is the read interface to the RIPP Interrupt FIFO. Each read to this register causes a read to the FIFO, which automatically updates this register. Group_tag: Group_tag identifies the group that generated the interrupt. Group_tag is valid only if FIFO_NOT_EMPTY=1 and FIFO_BUSY=0. FIFO_NOT_EMPTY Current FIFO status. FIFO_NOT_EMPTY=1 means the FIFO is not empty; and FIFO_NOT_EMPTY=0 means the FIFO is empty. FIFO_NOT_EMPTY is valid only if FIFO_BUSY=0. FIFO_BUSY Indicates that the FIFO is busy retrieving the next entry. FIFO_BUSY will usually clear within four SYSCLK cycles from the end of a read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
264
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x218:RIPP Group Interrupt Enable Register Bit 15:10 9 8 7 6 5 4 3 2 1 0 Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Function Reserved PM_ADJUST_DELAY_DO NE_INT_EN INVALID_TRL_INT_EN GRP_TIMING_INT_EN FE_TIMEOUT_INT_EN GR_TIMEOUT_INT_EN FE_ABORT_INT_EN NE_ABORT_INT_EN GTSM_INT_EN FE_GSM_INT_EN NE_GSM_INT_EN Default 0 0 0 0 0 0 0 0 0 0 0
The above enable bits provides a global enable for the corresponding IMA group interrupts. If an interrupt enable bit is not set, the respective interrupt is disabled for all groups. If a bit is set, the individual group interrupt enable is used. 0 - Disable group interrupt for all links. 1- Use individual group interrupt enable.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
265
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x21A:RIPP TX Link Interrupt Enable Register Bit 15:5 4 3 2 1 0 Type R/W R/W R/W R/W R/W R/W Function RESERVED TX_ACTIVE_INT_EN FE_RX_UNUSABLE_INT_ EN FE_RX_DEFECT_INT_EN TX_TIMEOUT_INT_EN UNUSED Default 1
The above enable bits provides a global enable for the corresponding TX link interrupts. If an interrupt enable bit is not set, the respective interrupt is disabled for all links. If a bit is set, the individual Tx Link Interrupt enable is used. 0 - Disable corresponding Tx Link interrupt for all links. 1 - Use individual corresponding Tx Link interrupt enable.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
266
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x21C:RIPP RX Link Interrupt Enable Register Bit 15:11 10 9 8 7 6 5 4 3 2 1 0 Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Function RESERVED RX_ACTIVE_INT_EN IDLE_CELL_INT_EN FE_TX_UNUSABLE_INT_ EN DIFF_DELAY_INT_EN LODS_OVERRUN_INT_E N LODS_UNDERRUN_INT_ EN LCD_INT_EN LIF_INT_EN INVALID_ICP_INT_EN RX_TIMEOUT_INT_EN UNUSED Default 0 0 0 0 0 0 0 0 0 0 0 0
The above enable bits provide a global enable for the corresponding Rx link interrupts. If an interrupt enable bit is not set, the respective interrupt is disabled for all links. If a bit is set, the individual Rx Link Interrupt enable is used. 0 - Disable group link interrupt for all links. 1 - Use individual link interrupt enable for each link.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
267
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x220-22C: RIPP Command Register Address 0x220 Bit 15 14:10 9 8 7:0 0X222 0X224 0X226 0X228 0X22A 0X22C 15:0 15:0 15:0 15:0 15:0 15:0 R/W R/W R/W R/W R/W R/W R/W Type RO R/W RO Function CMD_BUSY CMD_CODE CMD_ACK Reserved CMD_WR_DATA00 CMD_WR_DATA01_LSB CMD_WR_DATA01_MSB CMD_WR_DATA02_LSB CMD_WR_DATA02_MSB CMD_WR_DATA03_LSB CMD_WR_DATA03_MSB 0 0 0 0 0 0 0 Default 0 0 0
These array registers control the issuing of PM commands. Writing to the first location in the array (0x30) causes a new command to be issued to RIPP. The command operands are carried in the rest of the registers. CMD_ACK: This bit indicates whether a command has been accepted (logic high) or rejected (logic low) by RIPP. It is updated by RIPP before the CMD_BUSY is cleared. CMD_CODE: This is set by the microprocessor to indicate which command is being issued. See Table 14 Command Register Encoding for the details. CMD_BUSY: This bit is set to `1' internally upon detecting a microprocessor write to this register location; the write indicates that a new command is being issued. After the command is accepted by RIPP, RIPP clears the bit to `0' asynchronously to indicate that it is now ready to take the next command. RIPP will also update the CMD_ACK bit to indicate whether the command has
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
268
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
been accepted; it puts the return data - if there is any - in the command-read data registers. CMD_WR_DATA00: 8-bit field used to carry the first operand of the current command. See Table 14 Command Register Encoding for the details. CMD_WR_DATA01 - CMD_WR_DATA03: 32-bit data fields used to carry the rest of the operands of the current command. See Table 14 Command Register Encoding for the details. Table 14 Command Add_group Command Register Encoding Cmd_code 00000 Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03 Group_tag Cmd_wr_data01: TX_PHY_VALID vector Cmd_wr_data02: RX_PHY_VALID vector Cmd_wr_data03: Don't care. Delete_group Restart_group Inhibit_group Not_inhibit_gr oup Start_LASR 00001 00010 00100 00101 01000 Group_tag Group_tag Group_tag Group_tag Group_tag Don't care. Don't care. Don't care. Don't care. Cmd_wr_data01: TX_LINK_VEC Cmd_wr_data02: RX_LINK_VEC Cmd_wr_data03: Don't care. Delete_link 01001 Group_tag Cmd_wr_data01: TX_LINK_VEC Cmd_wr_data02: RX_LINK_VEC Cmd_wr_data03: Don't care.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
269
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Command Set_rx_phy_d efect
Cmd_code
01010
Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03
Group_tag
Cmd_wr_data01: Don't care. Cmd_wr_data02: RX_LINK_VEC Cmd_wr_data03: Bit 0: rx link physical defect status (LOS, LOF, AIS): `0': no defect `1': defect exists and needs to be reported to FE. Bits 31-1: Don't care.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
270
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Command Unusable_link
Cmd_code 01100
Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03 Group_tag Cmd_wr_data01: TX_LINK_VEC Cmd_wr_data02: RX_LINK_VEC Cmd_wr_data03: Bit 6:4: TX_CAUSE. Encoding: "001": No cause specified "010": Fault. "011": Mis-connected "100": Inhibited "101": Failed Others: Reserved (no effect, command void) Bit 2:0: RX_CAUSE. Encoding: "001": No cause specified "010": Fault. "011": Mis-connected "100": Inhibited "101": Failed Others: Reserved (no effect, command void) Bit 31-7: Don't Care.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
271
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Command Update_test_ ptn
Cmd_code 10000
Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03 Group_tag Cmd_wr_data01: Bit 13: test pattern active indication Bit 12:8: LID value of the TX Link to be tested. Bit 7:0: Tx test pattern Bit 31-14: Don't care. Cmd_wr_data02: Don't care. Cmd_wr_data03: Don't care.
Update_tx_trl
10001
Group_tag
Cmd_wr_data01: Bit 4:0: LID value of the TX Link to be used as the new TRL. Bit 31-5: Don't care. Cmd_wr_data02: Don't care. Cmd_wr_data03: Don't care.
Read_event Read_delay
11000 11001
Group_tag Group_tag
Don't care. Don't care.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
272
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Command Adjust_delay
Cmd_code
11010
Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03
Group_tag
Cmd_wr_data01: Bit15 : DELAY_ADJUST_MODE `0': Remove delay `1': Add delay Bit 9:0: Indicates the amount of delay to be added to/removed from a Group. Bit 31-10: Don't care. Cmd_wr_data02: Don't care. Cmd_wr_data03: Don't care.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
273
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x22E: Command Read Data Control Register Bit 15:2 1:0 R/W Type Function Reserved Cmd_read_data_page_ sel Default 0 0
CMD_READ_DATA_PAGE_SEL Selects which page in the command read data register array is to be made available in the Command Read Data Register Array. A logic `0' selects page 0, while a logic `1' selects page 1 and a logic `2' selects page 2. The pages may be changed at anytime to enable access to the complete information provided by the read event command. See "Register 0x240-0x02BE" for details of the contents of the pages.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
274
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x230: ICP Cell Forwarding Status Register Bit 15:1 0 Type R R2C Function Reserved PM_ICP_AVL Default 0 0
This register serves as the current PM_ICP_AVL interrupt status. PM_ICP_AVL: This bit is set by the RIPP state machine to indicate that there has been a new ICP cell copied over to the ICP cell buffer register area. It is cleared upon the microprocessor reading this register location.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
275
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x232: ICP Cell Forwarding Control Register Bit 15:2 1 0 R/W R Type Function Reserved ICP_FWD_LOCK_REQ ICP_FWD_LOCK_GRANT 0 Default 0
ICP_FWD_LOCK_GRANT: This bit serves as an access lock bit controlling the access to the forwarding ICP buffer. A read from this location returns the current lock status. When the lock bit is set to `1', the microprocessor is granted read access to the buffer; further writes by the RIPP internal logic are prohibited. Otherwise RIPP has control over the area. ICP_FWD_LOCK_REQ: Writing `1' to the register location requests the lock for microprocessor read access; while writing `0' releases the lock.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
276
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x240- 0x2BE:RIPP Command Data Register Array Address 0x240 0x242 0x244 0x246 0x248 0x24A 0x24C 0x24E 0x250 0x252 0x254 0x256 0x258 0x25A 0x25C 0x25E 0x260 0x262 0x264 0x266 0x268 0x26A 0x26C 0x26E 0x270 Bit 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 Type R R R R R R R R R R R R R R R R R R R R R R R R R Function CMD_DATA00_LSB CMD_DATA00_MSB CMD_DATA01_LSB CMD_DATA01_MSB CMD_DATA02_LSB CMD_DATA02_MSB CMD_DATA03_LSB CMD_DATA03_MSB CMD_DATA04_LSB CMD_DATA04_MSB CMD_DATA05_LSB CMD_DATA05_MSB CMD_DATA06_LSB CMD_DATA06_MSB CMD_DATA07_LSB CMD_DATA07_MSB CMD_DATA08_LSB CMD_DATA08_MSB CMD_DATA09_LSB CMD_DATA09_MSB CMD_DATA0A_LSB CMD_DATA0A_MSB CMD_DATA0B_LSB CMD_DATA0B_MSB CMD_DATA0C_LSB Default 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
277
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Address 0x272 0x274 0x276 0x278 0x27A 0x27C 0x27E 0x280 0x282 0x284 0x286 0x288 0x28A 0x28C 0x28E 0x290 0x292 0x294 0x296 0x298 0x29A 0x29C 0x29E 0x2A0 0x2A2 0x2A4 0x2A6
Bit 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0
Type R R R R R R R R R R R R R R R R R R R R R R R R R R R
Function CMD_DATA0C_MSB CMD_DATA0D_LSB CMD_DATA0D_MSB CMD_DATA0E_LSB CMD_DATA0E_MSB CMD_DATA0F_LSB CMD_DATA0F_MSB CMD_DATA10_LSB CMD_DATA10_MSB CMD_DATA11_LSB CMD_DATA11_MSB CMD_DATA12_LSB CMD_DATA12_MSB CMD_DATA13_LSB CMD_DATA13_MSB CMD_DATA14_LSB CMD_DATA14_MSB CMD_DATA15_LSB CMD_DATA15_MSB CMD_DATA16_LSB CMD_DATA16_MSB CMD_DATA17_LSB CMD_DATA17_MSB CMD_DATA18_LSB CMD_DATA18_MSB CMD_DATA19_LSB CMD_DATA19_MSB
Default 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
278
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Address 0x2A8 0x2AA 0x2AC 0x2AE 0x2B0 0x2B2 0x2B4 0x2B6 0x2B8 0x2BA 0x2BC 0x2BE
Bit 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0
Type R R R R R R R R R R R R
Function CMD_DATA1A_LSB CMD_DATA1A_MSB CMD_DATA1B_LSB CMD_DATA1B_MSB CMD_DATA1C_LSB CMD_DATA1C_MSB CMD_DATA1D_LSB CMD_DATA1D_MSB CMD_DATA1E_LSB CMD_DATA1E_MSB CMD_DATA1F_LSB CMD_DATA1F_MSB
Default 0 0 0 0 0 0 0 0 0 0 0 0
The 64 registers in address range 0x240-0x2BE serve as a data bank organized as three pages, each with 32 32-bit words. These registers hold the return value from the command. The value of cmd_read_data_page_select determines which page is currently accessible. See Table 15 for the details.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
279
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Table 15 Command Read_event
Command data register array format Cmd_data00 through cmd_data1F Page 0: Group Interrupt/Status. Cmd_data00: 32-bit vector where each bit corresponds to a Tx LID. A logic `0' means no interrupt exists on the link, while a logic `1' means an interrupt does exist on the link. Cmd_data01: 32-bit vector where each bit corresponds to an Rx link. The vector is organized corresponding to the RX_PHY_TABLE in the Group Configuration Record. A logic `0' means no interrupt exists on the link, while a logic `1' means an interrupt does exist on the link. Cmd_data02: Group Interrupt/Status. See Table 16 for bit descriptions. Cmd_data03 - Cmd_data1F: Don't care. Page 1: Link Interrupt Status. Cmd_dataN (N = 0x0, .... 0x1F): See Table 17 for bit descriptions. Page 2: Link Status. Cmd_dataN (N = 0x0, .... 0x1F): See Table 18 for bit descriptions. Note that the Tx/Rx links here are sorted in the same order as in the TX_PHY_VALID and RX_PHY_VALID vectors.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
280
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Command Read_delay
Cmd_data00 through cmd_data1F Page 0: Cmd_dataN (N = 0x0, .... 0x1F): Bit 31-29: Don't care. Bit 28: Current overrun defect status. Bit 27: Current LCD defect status. Bit 26: Current LIF defect status. Bit 25-23: Don't care. Bit 22-21: Current IFSM state (IMA Sync = 2) Bit 20-16: Don't care. Bit 15:0: DCB write pointer for link N. Note that the DCB write pointer should only be considered valid if the attached status bits are 0 and the IFSM state is Sync (2). Note that the Tx/Rx links here are sorted in the same order as in the TX_PHY_VALID and RX_PHY_VALID vectors. Page 1: Cmd_data00: Bit 15:0: Group DCB read pointer. Bit 31-16: Don't care. Cmd_data01: Bit 31:0: Current RDAT Group reader active vector. If no links are active (i.e., all 32 bits are zeros), the Group DCB read pointer is invalid. Cmd_data02 - Cmd_data1F: Don't care. Page 2: Don't Care.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
281
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Table 16 Word Bit
Group Error/Status Bit Mapping Data Field RESERVED PM_ADJUST_DELA Y_DONE_INT Description Reserved PM adjust_delay procedure done. This means an adjust_delay procedure invoked by the PM command is successfully finished or aborted. Invalid RX TRL. This means the FE specified a not-in-group link to be the TRL. Group timing mismatch. This means the FE IMA transmit clock mode does not mach the NE transmit clock mode. Startup-Ack Timeout. The FE fails to transition into the STARTUP-ACK state prior to the NE timing out.
31:26 Group Interrupts (10 bit) 24 25
FE_TRL_INT
23
GROUP_TIMING_IN T FE_TIMEOU_INT
22
21
GROUP_TIMEOUT_I GSM fails to come out of an NT insufficient-links state during a group start-up procedure before the relevant timer expires. FE_ABORT_INT NE_ABORT_INT FE entered CONFIG-ABORTED state during group start-up. Entered NE Config aborted state, FE group parameters unacceptable during group start-up. Possible causes are: IMA OAM label proposed by FE not acceptable. Group symmetry proposed by FE not acceptable. RX M proposed by FE not acceptable
20 19
18
GTSM_INT
GTSM state change.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
282
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 17 16
Data Field FE_GSM_INT NE_GSM_INT RESERVED
Description FE GSM state change. NE GSM state change. Reserved
Group Status (10 bit)
15:11
10
FE_TRL_STATUS
Invalid RX TRL. This means the FE specified a not-in-group link to be the TRL. Group timing mismatch GTSM state FE GSM state: Group state machine state. "0000": Start-up "0001": Start-up-ACK "0010": Config-Aborted - Unsupported M "0011": Config-Aborted - Incompatible group symmetry "0100": Config-Aborted - Unsupported IMA versions "0101": Reserved "0110": Reserved "0111": Config-Aborted - Other reasons "1000": Insufficient-links "1001": Blocked "1010": Operational "1011"-"1111" Reserved
9 8 7:4
GROUP_TIMING_MI SMATCH GTSM FE_GSM
3:0
NE_GSM
NE GSM state
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
283
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Table 17 Word RX Link Error Status (12 bit) Bit
Link Event Interrupt Bit Mapping Data Field Description Reserved
31:27
26 25 24 23
RX_ACTIVE_INT IDLE_CELL_INT FE_TX_UNUSABLE _INT DIFF_DELAY_INT
RX LSM transition into/out of Active state. Physical layer idle cells were received on the RX link. FE TX LSM transitioned into or out of the UNUSABLE state. Differential Delay is out of bounds on link addition/or recovery. This indicates the delay on the link was out of bounds of the programmed differential delay and that the link failed to come up for this reason. LODS, DCB overrun. An overrun condition occurred.
22 21
LODS_OVERRUN_I NT
LODS_UNDERRUN_ LODS, DCB underrun. Indicates that INT the DCB buffer experienced an underrun condition and has disabled itself from forwarding traffic to the ATM layer. An underrun occurs when the transport delay for the link is detected to be outside the programmed limit and the transport delay is smaller than the other links within the group In general, this will happen only if the transport delay of the link changes. An underrun condition requires that the link delay be revalidated prior to being placed back in service. LCD_INT A change of state of the LCD status bit was detected.
20
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
284
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word
Bit 19 18
Data Field LIF_INT INVALID_ICP _INT
Description A change of state of the LIF status bit was detected. Invalid ICP parameters detected on RX link during validation of the ICP cell parameters causing validation to fail. Possible reasons include: Invalid LID (i.e., a duplicate). Invalid ICP cell offset (out of range). Invalid RX IMA ID, which may indicate a misconnectivity problem. Invalid OAM label received after IMA version was determined through negotiation. Invalid Group symmetry received after symmetry was determined through negotiation.
17
RX_TIMEOUT_INT
Indicates the LASR procedure timed out prior to the link entering the ACTIVE state. Reserved Reserved
16 TX Link Error Status (8 bit) 15:5
RESERVED RESERVED
4 3 2 1
TX_ACTIVE_INT FE_RX_UNUSABLE _INT FE_RX_DEFECT_IN T TX_TIMEOUT_INT
Indicates that the NE TX LSM transitioned into/out of Active state. Indicates that FE RX LSM transitioned into/out of UNUSABLE state. Indicates that the FE RX Defect indication changed. Indicates the LASR procedure timed out prior to the link entering the ACTIVE state. Reserved
0
RESERVED
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
285
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Table 18 Word RX Link Error Status (15 bit) Bit 31
Link Status Bit Mapping Data Field DATA_PLAYOUT Description Reserved
30 29 28 27 26:24
LODS_OVR LODS_UNDERRUN LCD LIF FE_TX_LSM
LODS, DCB overrun indicated by RDAT. LODS, DCB under-run indicated by RDAT. LCD, indicated by RDAT. LIF, indicated by RDAT. FE Tx LSM state "000": Not in Group "001": UNUSABLE "010": UNUSABLE (Fault) "011": UNUSABLE (Mis-connected) "100" :UNUSABLE (Inhibited) "101": UNUSABLE (Failed) "110": USABLE "111": ACTIVE
23:21 20:16 TX Link Error Status (8 bit) 15:8
RX_LSM_ICP RX_LID
NE Rx LSM state. Rx LID Reserved
7:6 5:3 2:0
FE_RX_DEFECT FE_RX_LSM TX_LSM_ICP
FE Rx Defect FE Rx LSM state NE Tx LSM state.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
286
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x2C0- 0x2FE: Forwarding ICP Cell Buffer Address 0x2C0 0x2C2 0x2C4 0x2C6 0x2C8 0x2CA 0x2CC 0x2CE 0x2D0 0x2D2 0x2D4 0x2D6 0x2D8 0x2DA 0x2DC 0x2DE 0x2E0 0x2E2 0x2E4 0x2E6 0x2E8 0x2EA 0x2EC 0x2EE 0x2F0 Bit 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 15:0 Type R R R R R R R R R R R R R R R R R R R R R R R R R Function ICP_WORD00_LSB ICP_WORD00_MSB ICP_WORD01_LSB ICP_WORD01_MSB ICP_WORD02_LSB ICP_WORD02_MSB ICP_WORD03_LSB ICP_WORD03_MSB ICP_WORD04_LSB ICP_WORD04_MSB ICP_WORD05_LSB ICP_WORD05_MSB ICP_WORD06_LSB ICP_WORD06_MSB ICP_WORD07_LSB ICP_WORD07_MSB ICP_WORD08_LSB ICP_WORD08_MSB ICP_WORD09_LSB ICP_WORD09_MSB ICP_WORD0A_LSB ICP_WORD0A_MSB ICP_WORD0B_LSB ICP_WORD0B_MSB ICP_WORD0C_LSB Default 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
287
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Address 0x2F2 0x2F4 0x2D6 0x2F8 0x2FA 0x2FC 0x2FE
Bit 15:0 15:0 15:0 15:0 15:0 15:0 15:0
Type R R R R R R R
Function ICP_WORD0C_MSB ICP_WORD0D_LSB ICP_WORD0D_MSB ICP_WORD0E_LSB ICP_WORD0E_MSB ICP_WORD0F_LSB ICP_WORD0F_MSB
Default 0 0 0 0 0 0 0
The 32 registers in the address range 0x2A0-0x2DE serve as a data bank organized as 16 32-bit words. Those words are used to store the ICP cell forwarded to PM. See Table 19 for the details the format. Table 19 Receive ICP Cell Buffer Structure Description Octets 6-53 of the payload contained in the last non-errored ICP cell for this link. 31:24 0 1 2 3 4 5 6 7 8 9 10 11 Octet 6 Octet 10 Octet 14 Octet 18 Octet 22 Octet 26 Octet 30 Octet 34 Octet 38 Octet 42 Octet 46 Octet 50 23:16 Octet 7 Octet 11 Octet 15 Octet 19 Octet 23 Octet 27 Octet 31 Octet 35 Octet 39 Octet 43 Octet 47 Octet 51 15:8 Octet 8 Octet 12 Octet 16 Octet 20 Octet 24 Octet 28 Octet 32 Octet 36 Octet 40 Octet 44 Octet 48 Octet 52 7:0 Octet 9 Octet 13 Octet 17 Octet 21 Octet 25 Octet 29 Octet 33 Octet 37 Octet 41 Octet 45 Octet 49 Octet 53
Word Bits Parameter icp_data
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
288
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits Parameter 12 31:1 0 9
Description Reserved.
position_error The current ICP cell was received in an unexpected position within the IMA frame. If the contents of the cell are valid, then the ICP cell is considered valid, but the IFSM will transition to the IMA Hunt state. header_invali The ATM cell header is not a correct ICP cell header. d cid_invalid label_invalid lid_mm ima_id_mm m_mm seq_error The Cell ID does not indicate the OAM Cell Type is ICP. The OAM Label does not indication IMA version 1.1. The link identifier in the current ICP cell does not match the LID in validation memory. The IMA ID in the current ICP cell does not match the IMA ID in validation memory. The IMA Frame Length in the current ICP cell does not match the length in validation memory. The IMA Frame Sequence Number in the current ICP cell does not match the sequence number maintained by the RDAT.
8 7 6 5 4 3 2
1 0 13:15 .
icp_offset_mm The ICP Cell Offset in the current ICP cell does not match the offset in validation memory. stuff_invalid The link stuff indication in the current ICP cell has not progressed properly from the previous value. Reserved.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
289
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.9 RDAT Registers Register 0x300: RDAT Indirect Memory Command Bit 15 14 13:4 3:0 R/W Type RO R/W Function MEM_BUSY MEM_RWB Unused MEM_SELECT Default 0 0 0 0
Writing to this register triggers an indirect memory access to the RDAT tables. The indirect memory address (and data register for write operations) must be configured prior to writing the register. MEM_SELECT: The indirect memory select indicates the memory table within the RDAT which will be accessed.
MEM_SE LECT 0x00 0x01 0x02 0x03 0x04 0x05
RDAT Memory Table RDAT Link Statistics Memory RDAT IMA Group Statistics Memory RDAT TC Link Statistics Memory RDAT Validation Memory RDAT Link Context Memory RDAT Link Message Status Memory Receive ICP Cell Buffer RDAT IMA Group Context M
Address Range 0x000-0x14F 0x000-0x0A7 0x000-0x0A7 0x000-0x0A7 0x000-0x0A7 0x000-0x053
0x06-0x07 Reserved 0x08 0x09 0x000-0x53F 0x000-0x0A7
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
290
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
MEM_SE LECT 0x0A 0x0B0x0C 0x0D 0x0E0x0F MEM_RWB:
RDAT Memory Table Memory RDAT TC Link Context Memory Reserved Receive ATM Congestion Count Register Reserved
Address Range
0x000-0x053
N/A
The memory indirect access control bit (MEM_RWB) selects between a configure (write) or interrogate (read) access to the RDAT internal memory. Writing a logic 0 to MEM_RWB triggers an indirect write operation. Data to be written is taken from the Indirect Memory Data registers. Writing a logic 1 to MEM_RWB triggers an indirect read operation. The read data can be found in the Indirect Memory Data registers. The address within a memory table can be found in the Indirect Memory Address register. MEM_BUSY: The indirect memory access status bit (MEM_BUSY) reports the progress of an indirect access A write to the Indirect Memory Command register triggers an indirect access and sets the MEM_BUSY bit to a logic 1, MEM_BUSY will remain logic 1 until the access is complete. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Memory Data registers or (2) when a new indirect write operation may commence.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
291
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x302: RDAT Indirect Memory Address Bit 15:11 10:0 R/W Type Function Unused MEM_ADDR Default 0 0
This register should not be written while the MEM_BUSY bit is set. MEM_ADDR: The indirect memory address indicates the word address within the memory table selected with the MEM_SELECT in the command register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
292
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x304: RDAT Indirect Memory Data LSB Bit 15:0 Type R/W Function MEM_DATA_LSB Default 0
This register should not be written while the MEM_BUSY bit is set. MEM_DATA_LSB: The MEM_DAT_LSB represents either: (1) the least significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared by the RDAT. The actual definition of each memory table is described under the Indirect Memory Data MSB Register description.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
293
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x306: RDAT Indirect Memory Data MSB Bit 15:0 Type R/W Function MEM_DATA_MSB Default 0
This register should not be written while the MEM_BUSY bit is set. MEM_DATA_MSB: The MEM_DAT_MSB represents either: (1) the most significant 16 bits of the data to be written to internal memory or (2) the most significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared by the RDAT. The actual definition of each memory table is described below.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
294
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT Link Statistics Memory (MEM_SELECT=0) Purpose: Stores cell and event counts for each Physical Link. Usage: TC Links and links in IMA Groups. Each word contains two counts for IMA links, one count for TC Links. In IMA mode, each cell may cause the oif_anomalies count to be incremented, and also may cause one and only one of the other counters to be incremented. In TC mode, each cell will cause one and only one counter to be incremented. All counters roll over unless otherwise noted. Maintained by: RDAT. Record Size: Four 32-bit words. MEM_ADDR = (Physical Link Number X 4) + Word Offset Table 20 Word 0 Bits 31:16 15:0 RDAT Link Statistics Record (IMA) Parameter stuff_events oif_anomalies Description Count of the number of stuff events received on this link. Count of the number of times this link has transitioned from the IMA Sync state to the IMA Hunt state in the IFSM. Count of HEC errored, OCD errored, invalid, or missing ICP cells received on this link. This also includes valid ICP cells received at unexpected positions. Count of the number of valid, non-errored ICP cells received on this link. Count of the number of non-errored filler cells received on this link that have been written to the buffer. Count of the number of user cells received on this link that have been written to the buffer.
1
31:16
icp_violations
15:0 2 31:16
icp_cells filler_cells
15:0
user_cells
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
295
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word 3
Bits 31:16
Parameter filtered_cells
Description Count of the cells which were not written to the delay compensation buffer while in the IMA enable state (primarily due to errored conditions such as HEC errors, filler cells with CRC-10 errors, invalid or errored ICP cells not at expected positions, overrun, OCD, LCD, OIF, LIF, , reader not active yet). Count of the number of cells dropped while the link is in IMA mode and not Enabled.
15:0
dropped_cells
Table 21 Word 0 1 2
RDAT Link Statistics Record (TC) Parameter Description Reserved. Reserved. user_cells Count of the number of user cells received on this link that have been written to the DCB. Reserved
3
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
296
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT IMA Group Statistics Memory (MEM_SELECT=1) Purpose: Stores cell and event counts for each IMA Group. Usage: IMA Groups only. All counters roll over unless otherwise noted. Maintained by: RDAT. Record Size: Four 32-bit words. MEM_ADDR = (Group Tag X 4) + Word Offset Table 22 Word 0 RDAT IMA Group Statistics Record Parameter user_cells Description Count of the number of user cells that have been read from the DCB and transferred to the ATM layer for this group. Count of the number of cells which have been dropped solely due to ATM layer congestion for this group. Reserved filler_cells Count of the number of filler cells that have been read from the DCB (and not transferred to the ATM layer) for this group. Buffers that do not contain the correct embedded information will match this criteria. The cell writer may mark cells in this manner for many reasons; for example, when the link is not yet IMA enabled.
1
dropped_cells
2 3
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
297
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT TC Link Statistics Memory (MEM_SELECT=2) Purpose: Stores cell and event counts for each Physical Link. Usage: TC Links only. All counters roll over unless otherwise noted. Maintained by: RDAT Record Size: Two 32-bit words. MEM_ADDR = (TC Tag X 2) + Word Offset Table 23 Word 0 RDAT TC Link Statistics Record Parameter user_cells Description Count of the number of cells which have been read from the DCB and transferred to the ATM layer for this TC Link. Count of the number of cells which have been dropped solely due to Receive Cell Interface congestion for this TC Link.
1
dropped_cells
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
298
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT Validation Memory (MEM_SELECT=3) Purpose: Contains configuration information for each Physical Link. Used by the RDAT to validate incoming ICP cells in IMA mode, and to control the flow of data to the DCB's. For TC Links, the single bit tc_mode bit must be set. For IMA links, this record should be cleared before link addition. Usage: IMA Groups and TC Links. Maintained by: Microprocessor (for TC mode only), RIPP. Record Size: Two 32-bit words. MEM_ADDR = (Physical Link Number X 2) + Word Offset Table 24 Word Bits 0 31 RDAT Validation Record Parameter tc_mode Description tc_mode controls whether the link is in TC mode or part of an IMA group 0 1 IMA link. Flow of cells is controlled by the IMA protocol and the current IMA state TC Enabled. Cells received for this link are stored in a four-cell FIFO in the SDRAM and scheduled for immediate transmission out the group FIFO.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
299
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 0
Parameter
Description Link Data State. Valid only in IMA mode. This field reports the current state as set by the RIPP to determine how the RDAT should handle incoming cells: 00 01 Disabled. Cells are read from the link FIFOs and dropped. IMA startup. All ICP cells are forwarded to the RIPP via the ICP FIFO, but the IFSM is not started and the delay compensation buffers remain idle for this link. IMA Monitor. The IFSM is enabled. ICP cells are forwarded to the RIPP (all during the IFSM HUNT state, just cells at the expected ICP cell position during the PRESYNC and SYNC states). No cells are written to valid buffer locations in the DCB, but the write pointers are incremented. IMA Enabled. Same as IMA Monitor, except that user and filler cells are written to the DCB.
30:29 link_state
10
11
28:26 25:24 m
Reserved. IMA frame length. The value is programmed by the RIPP to allow the RDAT to perform the IFSM, and to validate the value for M in the incoming ICP cells. 00 01 10 11 32 cells 64 cells 128 cells 256 cells.
23:16 ima_id
IMA ID. This value is the group identifier, which is programmed by the RIPP to allow the RDAT to validate this value in the incoming ICP cells.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
300
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 15:8
Parameter icp_offset
Description ICP Cell Offset. This value is programmed by the RIPP to allow the RDAT to determine the frame boundary on this link, and to validate this value in the incoming ICP cells. Reserved. IMA Version supported for this link. This will factor into IMA OAM label checking, if the label_disable bit is not set. 0 = IMA version 1.1 1 = IMA version 1.0
7 6 ima_version
5
label_disable
When set, the IMA OAM label within the incoming ICP cells will not be used for validation of these cells. When not set, the IMA OAM label must match that specified by the ima_version field. Logical identifier for this link. This value is programmed by the RIPP to allow the RDAT to validate the incoming ICP cells. Reserved. Configured overrun threshold of the delay compensation buffer for this link (in cells - IMA only). This must be less than or equal to the value specified in MAX_DCB_DEPTH in the Global configuration register. When this threshold is exceeded (distance between the read and write pointers), the overrun_latch error status will be set. This threshold is programmed by the RIPP at link startup.
4:0
lid
1
31:10 9:0 dcb_thresh
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
301
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT Link Context Memory (MEM_SELECT=4) Purpose: Contains IMA state information for each IMA Physical Link. For IMA connections, RDAT uses this memory to maintain the IFSM, IESM, OSM, and the DCB write pointer for each Physical Link. Note that for all IMA links, the group tag must be initialized prior to link addition, with all other fields initialized to zero. For TC Links, this memory is used for the external write pointer and should be initialized to zero. Usage: IMA Groups and TC Links Maintained by: RDAT. Record Size: Two 32-bit words. MEM_ADDR = (Physical Link Number x 2) + Word Offset Table 25 Word Bits 0 31 RDAT Link Context Record Parameter lcd_latch Description Loss of Cell Delineation Defect latched status. This status is maintained by the RDAT to report occurrences of LCD on this link. This bit will be set when an LCD defect is detected (as reported in the HEC field), and will be cleared by the RDAT when a valid ICP cell is received. The bit may remain set if the LCD condition persists. DCB Overrun latched status. This status is maintained by the RDAT to report occurrences of DCB overrun. This bit will be set when a DCB overrun is detected, and will be cleared by the RDAT when a valid ICP cell is received. The bit may remain set if the overrun condition persists.
30
overrun_latch
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
302
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 29
Parameter underrun_latch
Description DCB Underrun latched status. This status is maintained by the RDAT to report occurrences of DCB underrun. This bit will be set when a DCB underrun is detected (by the cell reader process), and will be cleared by the RDAT when a valid ICP cell is received. The bit may remain set if the underrun condition re-occurs. Reserved Reserved IMA Error/Maintenance State. This state is maintained by the RDAT to indicate the current state in the IESM for this link. 11 10 01 00 Reserved. IMA Working. User cells may be written to the DCB. OIF Anomaly. User cells are replaced with filler cells in the DCB. LIF Defect. User cells are replaced with filler cells in the DCB.
28:25 24:15 14:13 iesm_state
12:10 oif_cnt
Count of the number of IMA frames while in the Out of IMA Frame (OIF) anomaly. This value is compared against gamma + 2 to detect the loss of an IMA frame (LIF) Gamma is set in Register 0x308. Once the LIF condition has been detected, this count is reset, and is used to count the persistence of IMA Sync for 2 IMA frames. Active high bit indicating when the last cell received on this link was a stuff cell (required for proper IFSM processing). Reserved.
9
last_cell_stuff
8:7
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
303
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 6:0
Parameter group_tag
Description The group tag associated with this link. The value is set by the read process; it is used by the cell write process to retrieve the group read pointer, in order to detect overrun conditions.
1
31 30 29
Reserved Reserved idleerr Idle Cell Received during IMA status. This status is maintained by the RDAT to report occurrences of idle cells on IMA links to PM via the RIPP. This bit will be set when an idle cell is detected on an IMA link, and will be cleared when the RDAT message clear command is issued with the idleerr_clear bit set (indicating that the RIPP has acknowledged the problem). Reserved Current link stuff count. This indicates the occurrence of the next stuff event. When an ICP cell is received, this count is set to the value in the link stuff indication in that cell. In the event of an errored, invalid, or missing ICP cell, the count will be automatically decremented (unless the count is 000 or 111). Note that an invalid stuff sequence will be interpreted as an invalid ICP cell. 111 100 011 010 001 No imminent stuff event. Reserved. Stuff event in 4 ICP cell locations. Stuff event in 3 ICP cell locations. Stuff event in 2 ICP cell locations. Stuff event in 1 ICP cell locations. 110-101
28:26 25:23 stuff_cnt
000 The next cell received on this link is a stuff event.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
304
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits
Parameter
Description IMA Frame Synchronization Mechanism State. This state is maintained by the RDAT to indicate the current state in the IFSM for this link. 00 IMA Hunt. Performs a cell-by-cell search for IMA framing. Cells are not written to the DCB. 01 IMA PreSync. Performs a frame-by-frame search for valid ICP cells. Cells are not written to the DCB (although write pointers are maintained). 10 IMA Sync. Verifies IMA framing on a frame-by-frame basis. Valid cells are written to the DCB. 11 Reserved.
22:21 ifsm_state
20:18 state_cnt
State count. This count is used within the IFSM, and has dual meaning, depending on the state. In the IMA PreSync state, this is the current number of consecutive valid ICP cells. This value is compared against the device gamma value to determine when the IFSM may enter the IMA Sync state from the IMA PreSync state. Once the IMA Sync or Hunt state is entered, this value is reset to 0. In the IMA Sync state, this is the current number of consecutive errored ICP cells. This value is compared against the device beta value to determine when the IFSM may enter the IMA Hunt state from the IMA Sync state. Once the IMA Hunt state is entered, or a non-errored cell is received, this value is reset to 0.
17:16 invalid_cnt
Current number of consecutive invalid ICP cells. This value is compared against the device alpha value to determine when the IFSM may enter the IMA Hunt state from the IMA Sync state. Once the IMA Hunt state is entered, or a valid cell is received, this value is reset to 0, and this value may only be incremented in the IMA Sync state.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
305
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 15:0
Parameter write_ptr
Description Current delay compensation buffer write pointer for this link. The least significant portion of the write pointer is the cell number within the IMA frame, while the most significant portion represents the IMA Frame Sequence Number. The actual number of bits per field depends on the value for M for this link. Bits 9:0 for MAX_DCB_DEPTH = 1024 always represent the actual buffer write pointer (or bits 7:0 for MAX_DCB_DEPTH = 256). The write pointer is initialized by the RDAT when a valid ICP cell is received while in the IMA Hunt state, and is incremented otherwise. The most significant bits (not determined by the frame sequence number) will be synchronized to the group read pointer upper bits. (If the lower portion of the write pointer is less than the lower portion of the read pointer, then the write pointer upper bits will be set to one greater than the read pointer upper bits). Each increment of the write pointer represents a single cell time at the link line rate. All write pointers within a group can be compared in order to determine the differential delay.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
306
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT Link Message Status Memory (MEM_SELECT=5) Purpose: Contains the current message status indicator for each Physical Link. This information is used solely by RDAT for communication with the RIPP, and should be initialized to zero by PM at link addition. Usage: IMA Groups only. Maintained by: RDAT. Record Size: One 32-bit word. MEM_ADDR = Physical Link Number Table 26 Bits 9 RDAT Link Message Status Record Parameter msg_status Description RDAT message FIFO status. This bit is set by the RDAT when a message for this link is written to the RDAT message FIFO. The bit is cleared when a command for this link is written to the RDAT message clear command register. Reserved Reserved
8 7:0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
307
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Receive ICP Cell Buffer (MEM_SELECT=8) Purpose: Contains the most recently received non-errored ICP cell for each Physical Link. This record is provided for read access only. Usage: IMA Groups only. Maintained by: RDAT Record Size: 16 32-bit words. MEM_ADDR = (Physical Link Number X 16) + Word Offset Table 27 Word Bits Receive ICP Cell Buffer Structure Parameter icp_data Description Octets 6-53 of the payload contained in the last non-errored ICP cell for this link. 31:24 0 1 2 3 4 5 6 7 8 9 10 11 12 31:10 Octet 6 Octet 10 Octet 14 Octet 18 Octet 22 Octet 26 Octet 30 Octet 34 Octet 38 Octet 42 Octet 46 Octet 50 Reserved. 23:16 Octet 7 Octet 11 Octet 15 Octet 19 Octet 23 Octet 27 Octet 31 Octet 35 Octet 39 Octet 43 Octet 47 Octet 51 15:8 Octet 8 Octet 12 Octet 16 Octet 20 Octet 24 Octet 28 Octet 32 Octet 36 Octet 40 Octet 44 Octet 48 Octet 52 7:0 Octet 9 Octet 13 Octet 17 Octet 21 Octet 25 Octet 29 Octet 33 Octet 37 Octet 41 Octet 45 Octet 49 Octet 53
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
308
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 9
Parameter position_error
Description The current ICP cell was received in an unexpected position within the IMA frame. If the contents of the cell are valid, then the ICP cell is considered valid, but the IFSM will transition to the IMA Hunt state.
8 7 6 5 4 3 2
header_invalid The ATM cell header is not a correct ICP cell header. cid_invalid label_invalid lid_mm ima_id_mm m_mm seq_error The Cell ID does not indicate the OAM Cell Type is ICP. The OAM Label does not indication IMA version 1.1. The link identifier in the current ICP cell does not match the LID in validation memory. The IMA ID in the current ICP cell does not match the IMA ID in validation memory. The IMA Frame Length in the current ICP cell does not match the length in validation memory. The IMA Frame Sequence Number in the current ICP cell does not match the sequence number maintained by the RDAT.
1 0 13:15
icp_offset_mm The ICP Cell Offset in the current ICP cell does not match the offset in validation memory. stuff_invalid The link stuff indication in the current ICP cell has not progressed properly from the previous value. Reserved.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
309
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT IMA Group Context Memory (MEM_SELECT=9) Purpose: Contains state information for each IMA Group. VPHY_ID is the only field that must be configured by PM (prior to IMA group startup). Usage: IMA Groups only. Maintained by: RDAT, PM Record Size: Four 32-bit words. MEM_ADDR = (Group Tag X 4) + Word Offset Table 28 Word Bits 0 RDAT IMA Group Context Record Parameter Description Virtual PHY ID. For multi-channel UTOPIA mode, this identifies which channel in the RXAPS FIFO cells received for this group will be written to. The least significant 5 bits determine the destination channel of the RXAPS FIFO for this IMA group, and the upper 11-bits are unused. For Any-PHY mode and single channel UTOPIA, this identifies the address which will be prepended to all cells as they are written to the single channel RXAPS FIFO. For single channel UTOPIA mode and Any-PHY mode, the least significant 7 bits must uniquely identify a channel (legal values of 0-83) and the upper 9 bits are user selectable. 15:0 1 31:16 Reserved. Reserved
31:16 vphy_id
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
310
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 15:0
Parameter read_ptr
Description Current read pointer for the delay compensation buffers associated with this group. The most significant bits represent an extension of the pointer, which is based on the IMA frame sequence number. This field is initialized at link addition using the DCB depth command (with the initiate bit set). Reserved Reserved.
2 3
31:0 31:0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
311
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RDAT TC Link Context Memory (MEM_SELECT=0xA) Purpose: Contains state information for each TC Link. VPHY_ID is the only field that must be configured. Usage: TC Links only. Maintained by: RDAT, microprocessor. Record Size: One 32-bit word. MEM_ADDR = TC Tag Table 29 Bits 31:16 RDAT TC Link Context Record Parameter vphy_id Description Virtual PHY ID. For UTOPIA L2 Multi-Address mode, this identifies which channel in the RXAPS FIFO cells received for this group will be written to. The least significant 5 bits determine the destination channel of the RXAPS FIFO for this IMA group, and the upper 11-bits are unused. For Any-PHY and UTOPIA L2 Single-Address modes, this identifies the address which will be prepended to all cells as they are written to the single channel RXAPS FIFO. For single channel UTOPIA mode and Any-PHY mode, the least significant 7 bits must uniquely identify a channel (legal values of 0-83) and the upper 9 bits are user selectable. 15:0 read_ptr Current read pointer for the delay compensation buffers associated with this TC connection.
Receive ATM Congestion Count Register (MEM_SELECT=0xD) Purpose: Contains a global count of the number of cells dropped due to Receive Cell Interface congestion. RDAT increments this counter and sets one of the Receive ATM Congestion Status bits each time it drops a cell.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
312
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Usage: Global. Maintained by: RDAT. Record Size: one word. MEM_ADDR is not used for accesses to this register. Table 30 Bits 31:0 Receive ATM Congestion Count Register Parameter cong_count Description Count of the total number of cells dropped due to ATM congestion.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
313
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x308: RDAT Configuration Bit 15 14:8 7:5 4:2 1:0 ALPHA: ALPHA represents the number of consecutive invalid ICP cells which will cause the IFSM to transition from the IMA Sync state to the IMA Hunt state. Value 0 1-2 3 BETA: BETA represents the number of consecutive errored ICP cells which will cause the IFSM to transition from the IMA Sync state to the IMA Hunt state. Value 0 1-5 6-7 GAMMA: GAMMA represents the number of consecutive valid ICP cells which will allow the IFSM to transition from the IMA PreSync state to the IMA Sync state. GAMMA+2 also represents the number of frames the IESM will wait after detecting OIF before entering the LIF state. Definition Undefined Number of consecutive errored ICP cells Undefined Definition Undefined Number of consecutive invalid ICP cells Undefined R/W R/W R/W Type R/W Function RDAT_ENABLE Unused GAMMA BETA ALPHA Default 0 0 1 2 2
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
314
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Value 0 1-5 6-7 RDAT_ENABLE:
Definition Undefined Number of consecutive valid ICP cells Undefined
When set, this bit enables the RDAT state machines. When disabled, the link FIFOs are not serviced and IDCC requests are ignored. The operation of the microprocessor accesses are not affected by this enable.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
315
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x30A: Receive ATM Congestion Interrupt LSB Bit 15:0 Type R2C Function CONG(15:0) Default 0
The status in this register is latched, and it is cleared when read. CONG(15:0): CONG(15:0) is a bit-vector indicating on which channel a cell was dropped at the Receive Cell Interface. In UTOPIA-2 Multi-Address mode, a set bit indicates that a cell has been dropped on the corresponding channel due to a full RXAPS FIFO. In Any-PHY and UTOPIA-2 Single Address modes, bit 0 set indicates that a cell has been dropped because the single shared RXAPS FIFO is full, or because 16 cells are already stored in the FIFO for the current IMA Group or TC Link. Bits 15:1 are unused. Read the Receive ATM Congestion Count Register (MEM_SELECT=0xD) to determine the total number of cells dropped.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
316
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x30C: Receive ATM Congestion Interrupt MSB Bit 15:0 Type R2C Function CONG(31:16) Default 0
The status in this register is latched; it is cleared when read. CONG(31:16): CONG(31:16) is a bit-vector indicating on which channel a cell was dropped at the Receive Cell Interface. In UTOPIA-2 Multi-Address mode, a set bit indicates that a cell has been dropped on the corresponding channel due to a full RXAPS FIFO. Bit 31 is unused. In Any-PHY and UTOPIA-2 Single Address modes, CONG(31:16) is unused. Read the Receive ATM Congestion Count Register (MEM_SELECT=0xD) to determine the total number of cells dropped.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
317
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x30E: Receive TC Link FIFO Overrun Interrupt Register Bit 15:7 6:0 R Type Function Unused PHYSICAL_LINK Default 0 0
PHYSICAL_LINK: Indicates the most recent physical link number that experienced Link FIFO overrun. PHYSICAL_LINK is valid only when TC_OVERRUN=1 in the RDAT Master Interrupt Status Register. This registers is not used to report overruns on Physical Links which are allocated to IMA Groups.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
318
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x310: RDAT Master Interrupt Register Bit 15 14:3 2 1 0 R2C RO RO Type RO Function Reserved Unused TC_OVERRUN ATM_CONG_MSB ATM_CONG_LSB Default 0 0 0 0 0
ATM_CONG_LSB: When set, this bit indicates that an interrupt bit is set in the Receive ATM Congestion Interrupt LSB register. This bit will be clear when no interrupt conditions are present in that register, or when the conditions are not enabled using the Receive ATM Congestion Interrupt Enable LSB register. ATM_CONG_MSB: When set, this bit indicates that an interrupt bit is set in the Receive ATM Congestion Interrupt MSB register. This bit will be clear when no interrupt conditions are present in that register, or when the conditions are not enabled using the Receive ATM Congestion Interrupt Enable MSB register. TC_OVERRUN: When set, this bit indicates that a Link FIFO overrun has occurred on the physical link indicated in the TC Overrun status register. Note that Link FIFO overrun will occur only if the setup procedures are not followed properly by PM. This bit is not used to report overruns on Physical Links which are allocated to IMA Groups. This bit will clear when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
319
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x312: Receive ATM Congestion Interrupt Enable LSB Bit 15:0 Type R/W Function Default
CONG_INTR_EN(15:0 0x0000 )
CONG_INTR_EN(15:0): The CONG_INTR_EN vector enables the ATM FIFO congestion status for RDAT_INTR interrupt generation. When a bit is a one, the associated status will generate an interrupt.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
320
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x314: Receive ATM Congestion Interrupt Enable MSB Bit 15:0 Type R/W Function Default
CONG_INTR_EN(31:1 0x0000 6)
CONG_INTR_EN(31:16): The CONG_INTR_EN vector enables the ATM FIFO congestion status for RDAT_INTR interrupt generation. When a bit is a one, the associated status will generate an interrupt.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
321
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x316: RDAT Master Interrupt Enable Bit 15 14:3 2 1 0 R/W R/W R/W Type R/W Unused OVERRUN_INTR_EN CONG_MSB_INTR_E N CONG_LSB_INTR_E N Function Default 0 0 0 0 0
CONG_LSB_INTR_EN: When set to a one, the CONG_LSB_INTR_EN allows the presence of an enabled interrupt in the ATM Congestion Status LSB register to cause an RDAT interrupt. CONG_MSB_INTR_EN: When set to a one, the CONG_MSB_INTR_EN allows the presence of an enabled interrupt in the ATM Congestion Status MSB register to cause an RDAT interrupt. OVERRUN_INTR_EN: The OVERRUN_INTR_EN bit enables the TC overrun status for RDAT_INTR interrupt generation. When the enable bit is a one, a TC overrun will generate an interrupt.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
322
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.10 TIMA registers Register 0x320: TIMA Indirect Memory Command Bit 15 14 13:3 2:0 R/W Type R R/W Function MEM_BUSY MEM_RWB Unused MEM_SELECT Default 0 0 0 0
Writing to this register triggers an indirect memory access to the TIMA Context tables. The indirect memory address (and data register for write operations) must be configured prior to writing this register. MEM_SELECT: The indirect memory select indicates the memory table (or register bank) within the TIMA which will be accessed.
MEM_SELECT 0 0 1 2 3-7
TIMA Memory Transmit IMA Group Context Table Transmit IMA Group Configuration Table Transmit LID to Physical Link Mapping Table
Address Range 0-671 (29Fhex) 672 - 713 (2A0 - 2C9 hex) 0-1343 (53F hex)
Transmit Physical Link Context 0- 167(A7 hex) Table Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
323
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
MEM_RWB: The memory indirect access control bit (MEM_RWB) selects between a configure (write) or interrogate (read) access to the TIMA internal. Writing a logic 0 to MEM_RWB triggers an indirect write operation. Data to be written is taken from the Indirect Memory Data registers. Writing a logic 1 to MEM_RWB triggers an indirect read operation. The read data can be found in the Indirect Memory Data registers. The address within a memory table can be found in the Indirect Memory Address register. MEM_BUSY: The indirect memory access status bit (MEM_BUSY) reports the progress of an indirect access. A write to the Indirect Memory Command register triggers an indirect access and sets MEM_BUSY to a logic 1; MEM_BUSY will remain logic 1 until the access is complete. This register should be polled to determine when data from an indirect read operation is available in the TIMA Indirect Memory Data registers or to determine when a new indirect write operation may commence.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
324
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x322: TIMA Indirect Memory Address Bit 15:11 10:0 R/W Type Function Unused MEM_ADDR Default 0 0
This register provides the address for indirect memory access to the TIMA Context tables.. MEM_ADDR: The indirect memory address indicates the word address within the memory table selected with the MEM_SELECT in the TIMA Indirect Memory Command register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
325
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x324: TIMA Indirect Memory Data LSB Bit 15:0 Type R/W Function MEM_DATA_LSB Default 0
This register should not be written while the MEM_BUSY bit is set. MEM_DATA_LSB: The MEM_DATA_LSB represents either: (1) the least significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared by the TIMA. The actual definition of each memory table is described under TIMA Indirect Memory Data MSB. If a memory location is read which does not support any bits of 15:0, then the corresponding register bit is loaded with 0. If a memory location is written which does not support bits 15:0, then the data in the corresponding register bit is ignored.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
326
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x326: TIMA Indirect Memory Data MSB Bit 15:0 Type R/W Function MEM_DATA_MSB Default 0
This register should not be written while the MEM_BUSY bit is set. MEM_DATA_MSB: The MEM_DATA_MSB represents either: (1) the most significant 16 bits (31:16) of the data to be written to internal memory or (2) the most significant bits of the data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared by the TIMA. If a memory location is read which does not support bits 31:16, then corresponding register bits are loaded with 0. If a memory location is written which does not support bits 31:16, then data in the corresponding register bits is ignored. Note that a write operation will corrupt the read data. The actual definition of each memory table is described below:
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
327
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Transmit IMA Group Context Table (MEM_SELECT=0) Purpose: Contains state information, statistics, and ICP cell information (delivered by the RIPP) for each IMA Group. Usage: IMA Groups only. Maintained by: TIMA. Record Size: 16 32-bit words. MEM_ADDR = (Group Tag X 16) + Word Offset Table 31 Word 0 Transmit IMA Group Context Record Bits 31:0 Parameter Description Reserved.
1
31:16
Discarded Cells
Number of cells discarded from ATM layer when the IMA group was in an nonoperational state.
15:0
Reserved
2
31:0
Number of Cell Per Group
Continuously running cell count of all ATM cells read from the associated group FIFO and sent to link FIFOs.. Maintained by TIMA state machine.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
328
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word 3
Bits 31:0
Parameter Number of ATM Filler Cells
Description Continuously running cell count of ATM filler cells (generated when there is no ATM cell to send) delivered on all links in the group. Maintained by TIMA state machine. Reserved
4 5
31:0 31:24 Reserved
23:16 15:8 7:0 6 31:0
ICP octet 11 ICP octet 12 ICP octet 13 ICP octet 14 ICP octet 15 ICP octet 16 ICP octet 17 ICP octet 18 ICP octet 19 ICP octet 20 ICP octet 21 ICP octet 22 ICP octet 23 ICP octet 24 ICP octet 25 ICP octet 26 ICP octet 27 ICP octet 28 ICP octet 29
ICP cell octets that are maintained by RIPP and placed into the outgoing ICP cells for all links in the group.
7
31:0
8
31:0
9
31:0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
329
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word 10
Bits 31:0
Parameter ICP octet 30 ICP octet 31 ICP octet 32 ICP octet 33 ICP octet 34 ICP octet 35 ICP octet 36 ICP octet 37 ICP octet 38 ICP octet 39 ICP octet 40 ICP octet 41 ICP octet 42 ICP octet 43 ICP octet 44 ICP octet 45 ICP octet 46 ICP octet 47 ICP octet 48 ICP octet 49 ICP octet 50 ICP octet 51
Description
11
31:0
12
31:0
13
31:0
14
31:0
15
31:24 23:16 15:0
Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
330
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Transmit IMA Group Configuration Table (MEM_SELECT=0) Purpose: Contains IMA configuration data programmed by PM. Usage: IMA Groups only. Maintained by: Microprocessor. Record Size: One 32-bit word. MEM_ADDR = 0x2A0 + Group Tag Table 32 Transmit IMA Group Configuration Table Record Bits 31:23 22:16 VPHY Address Parameter Description Unused VPHY address (group FIFO number) which is assigned to this group. This field should be modified by PM only during group configuration. Valid values are 0 to 83. Unused Disable Cell Discard Configuration bit which determines if the ATM cell discarding feature is enabled for this IMA Group. When set to 0, ATM cells will be read and discarded from the group FIFO (one for each request) if there are no active links in the group. When set to 1, cell discarding will not occur for the group. Configuration bit which determines whether stuff cell advertising is done either four ICP cells ahead or one ICP cell ahead of the stuff event. This bit should be changed only on Group startup, otherwise the number of cells between TRL stuff events will not be correct. 0 = one ICP cell ahead; 1 = four ICP cells ahead 8 Stuff Mode Configuration bit which determines whether ITC or CTC stuff mode is actually used for this group. Note it is possible to advertise ITC Transmit Clock Mode in an
15:9 10
9
Stuff Advertise Mode
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
331
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
ICP cell but still use a common clock and CTC stuff mode. 0 = ITC stuff mode, 1 = CTC stuff mode 7:0 OAM Label Static field to be inserted into octet 6 of ICP cells and OAM cells.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
332
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Transmit-LID-to-Physical-Link Mapping Table (MEM_SELECT=1) Purpose: Maps physical links to IMA Groups. Usage: IMA Groups only. Maintained by: Microprocessor. Organization: A single linear table containing 1344(42 x32) 7-bit entries. Each entry is addressed by using the Group Tag concatenated with the link ID (LID). Each Physical Link ID is stored as a 7-bit value. In general, this table is sparsely populated since each of the 84 physical link tags can exist in only one table entry. MEM_ADDR = (Group Tag X 32) + LID value Table 33 Bits 6:0 Transmit LID to Physical Link Mapping Table
Description Physical Link for corresponding Group Tag and Link ID. Only values 0 to 83 are valid for this field.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
333
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Transmit Physical Link Context Table (MEM_SELECT=2) Purpose: Contains state information and statistics for each TC Link or IMA Link. Each record is addressed by either the TC tag from the IDCC or the physical link tag from the Transmit-LID-to-Physical-Link mapping Table. Usage: IMA Groups and TC Links. Maintained by: TIMA and microprocessor. Record Size: Two 32-bit words. MEM_ADDR = (Physical Link Tag or TC Tag X 2) + Word Offset Table 34 Word Bits 0 TIMA Physical Link Context Record Parameter Description unused IMA mode: this field is indexed by the Physical Link tag and is used to determine the cell count within a frame at which an ICP is to be inserted for the link. The width of the field used by the TIMA is dependent on the value of M used for the particular group and is shown in the following: M=256 ICP offset determined by bits [23:16] M=128 ICP offset determined by bits [23:17] M=64 ICP offset determined by bits [23:18] M=32 ICP offset determined by bits [23:19] The mapping of the ICP offset is set such that the offset should not have to be changed if M is changed. Values 0 to 255 are valid. TC mode: this field is indexed by the TC tag delivered by the IDCC and is used to determine the VPHY ATM source FIFO associated with the TC connection. Only values 0 to 83 are valid. 15:9 Reserved
31:24 unused 23:16 ICP offset or TC mode VPHY address
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
334
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 8:6
Parameter Startup Cell Count
Description Cell count used to track the first four cells sent into each Link FIFO after startup. Used to inhibit cell reads from the Link FIFO until four cells have been written into the Link FIFO so that the nominal 4 to 5 cell depth can be achieved. This field must be initialized to four by PM before the link is enabled to ensure proper startup. However, if the link is to be used for either a low speed or high speed TC mode connection, this field must be initialized to a value of 0 to prevent any read inhibit. Reserved .
5:0 1 31:16 IMA Mode Stuff Event Count
IMA mode: this field is indexed by the Physical Link tag and is used to store a continuously or TC Mode User running count of the number of Stuff Events Cell Count (upper inserted on the link. It is maintained by the transmit engine and is read by the PM. This field word)) should only be reset when the link is not enabled. TC mode: this field is indexed by the TC tag delivered by the IDCC and is used to store the upper 16-bit word of a continuously running 32bit count of the total number of ATM user cells sent on the link. It is maintained by the transmit engine and is read by the PM. This field should only be reset when the link is not enabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
335
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Word Bits 15:0
Parameter IMA mode Total User Cell Count
Description
IMA mode: this field is indexed by the Physical Link tag and is used to store a continuously or TC Mode User running count of the number ATM user cells Cell Count (lower transferred on the link. It is maintained by the transmit engine and is read by the PM. This field word)) should only be reset when the link is not enabled. TC mode: this field is indexed by the TC tag delivered by the IDCC and is used to store the lower 16-bit word of a continuously running 32-bit count of the total number of ATM user cells sent on the link. It is maintained by the transmit engine and is read by the PM. This field should only be reset when the link is not enabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
336
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x328-0x332 Transmit Link FIFO Overrun Interrupt Register Address 0x328 0x32A 0x32C 0x32E 0x330 0x332 Bit 15:0 15:0 15:0 15:0 15:0 15:4 3:0 R2C Type R2C R2C R2C R2C R2C Function Default
Link_FIFO_OVERFLOW_STA 0 T [15:0] Link_FIFO_OVERFLOW_STA 0 T [31:16] Link_FIFO_OVERFLOW_STA 0 T [47:32] Link_FIFO_OVERFLOW_STA 0 T [63:48] Link_FIFO_OVERFLOW_STA 0 T [79:64] Unused Link_FIFO_OVERFLOW_STA 0 T [83:80]
The Transmit Link FIFO Overrun Interrupt register reports an overrun on the TTC Link FIFOs, which occurs when a write is attempted to a full FIFO. These interrupts should not occur during normal operation, and indicate either a configuration error or a loss of clock on a non-TRL link of an IMA group.. If an overrun occurs during the same cycle as a read, the set of an interrupt bit overrides the clear operation. Link FIFO Overflow Status[83:0] On read, each bit reports the status of the corresponding link FIFO (1= overflow, 0 = no overflow). Each set overflow status bit is cleared after a read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
337
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x336 Interrupt Enable Bit 15:1 0 Type R R/W reserved Link FIFO Overflow Interrupt Enable Function Default 0 0
The interrupt enable bits control whether the corresponding interrupt source will cause an interrupt on the INTB output or will be masked. Link FIFO Overflow Interrupt Enable 1) link FIFO overflow interrupts will be enabled. 0) link FIFO overflow interrupts are not enabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
338
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.11 TX IDCC registers Register 0x340: TXIDCC Indirect Link Control Register Bit 15 14 13:9 8:7 6:0 Type R R/W N/A R/W R/W Function CBUSY LRWB Unused LSEL[1:0] LADDR[6:0] Default 0 0 N/A 0 0
Writing to this register triggers an indirect channel register access. LADDR [6:0]: The indirect link address number (LADDR [6:0]) indicates the link to be configured or interrogated in the indirect link access. LSEL: LSEL selects the RAM to interrogate or configure. 00 - Unused 01 - Link Table 10 - Reserved 11 - Reserved LRWB: The link indirect access control bit (LRWB) selects between a configure (write) or interrogate (read) access to the RAM. Writing logic 0 to LRWB triggers an indirect write operation. Data to be written is taken from the Indirect Link Data registers. Writing logic 1 to LRWB triggers an indirect read operation. CBUSY: The indirect access command bit (CBUSY) reports the progress of an indirect access. CBUSY is set high to trigger an indirect access; it will stay high until the access is complete. Once the access is complete, the CBUSY signal is
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
339
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
reset by the device. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
340
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x342: TXIDCC Indirect Link Data Register Bit 15:8 7 6:0 TC Mode: If this bit is set, the associated link is in pass-through mode. Here, the TRL and the Group Tag are don't-care values. Type N/A R/W R/W Function Unused TC Mode Reserved Default N/A 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
341
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11.12 RX IDCC Registers Register 0x350: RXIDCC Indirect Link Control Register Bit 15 14 13:9 8:7 6:0 Type R R/W N/A R/W R/W Function CBUSY LRWB Unused LSEL[1:0] LADDR[6:0] Default 0 0 N/A 0 0
Writing to this register triggers an indirect channel register access. LADDR [6:0]: The indirect link address number (LADDR [6:0]) indicates the link to be configured or interrogated in the indirect link access. LSEL: LSEL selects the RAM to interrogate or configure. 00 - Unused 01 - Link Table 10 - Reserved 11 - Reserved LRWB: The link indirect access control bit (LRWB) selects between a configure (write) or interrogate (read) access to the RAM. Writing logic 0 to LRWB triggers an indirect write operation. Data to be written is taken from the Indirect Link Data registers. Writing logic 1 to LRWB triggers an indirect read operation. CBUSY: The indirect access command bit (CBUSY) reports the progress of an indirect access. CBUSY is set high to trigger an indirect access, and will stay high until the access is complete. Once the access is complete, the CBUSY signal
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
342
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
is reset by the device. This register should be polled to determine when data from an indirect read operation is available in the Indirect Data register or to determine when a new indirect write operation may commence.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
343
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x352: RXIDCC Indirect Link Data Register Bit 15:8 7 6:0 TC Mode: If this bit is set, the associated link is in pass through mode. Here, the TRL and the Group Tag are don't care values. Type N/A R/W R/W Function Unused TC Mode Reserved Default N/A 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
344
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Register 0x366: DLL Status Register Bit 15:1 0 Type R R Function Reserved RUN Default X 0
The DLL Control Status Register provides information of the DLL operation. RUN: The DLL lock status register bit (RUN) indicates the DLL has locked. After system reset, RUN is logic zero until the DLL has locked. For proper operation the DLL must be indicate RUN. The RUN register bit is cleared only by a system reset .
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
345
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
12
OPERATION
12.1 Hardware Configuration The S/UNI-IMA-84 can be configured in two different modes: Clk/Data interface or SBI Interface. The S/UNI-IMA-84 is powered up with both modes disabled. The Any-PHY/UTOPIA interface can also be set up in different modes.. The AnyPHY/UTOPIA interface will remain tri-state until configured and the respective RA_ENABLE/TA_ENABLE bits are set. 12.2 Start-Up The S/UNI-IMA-84 uses an internal DLL on SYSCLK to maintain low skew on the external SDRAM interface. When the chip is taken out of hardware reset, the DLL will go into hunt mode and will adjust the internal SYSCLK until it aligns with the external SYSCLK. The microprocessor should poll the RUN bit in DLL CONTROL STATUS register until this bit is set. At this point the entire chip with the exception of the microprocessor interface and the DLL are in reset. Before any configuration can be done, including accessing the ram, the chip must be taken out of software reset by clearing the RESET bit in the Global Reset Register. Once taken out of reset, the internal ram reset procedure is automatically initiated. The microprocessor should poll the BIST_DONE bit in the Global Reset register to determine when the internal RAM reset is complete. While the internal ram is initializing, access to all internal rams is prohibited, and accesses attempted during this period of time are ignored. Once the chip is taken out of reset, the external SDRAM should be cleared to all zeros to ensure no false CRC errors are reported. Access to the SDRAM is through the SDRAM Diagnostic access port as discribed in 12.6.1. At this point, the Any-PHY/UTOPIA interface is disabled and all Any-PHY/UTOPIA outputs are tri-stated. Also, the line side interfaces are disabled and all internal registers are in their reset state.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
346
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
12.3 Configuring the S/UNI-IMA-84 12.3.1 Configuring SBI Interface In SBI mode the following items need to be properly configured: * The SPE type for each of the 3 SBI SPEs * SPE type can be E1, T1, or DS3 and is configured by setting SPEn_TYP bits in the SBI Bus Configuration Register (SBI_BUS_CFG_REG) to the appropriate value. All SPEs_TYP are default to T1 type. Each SPE must be enabled or disabled by writing appropriate value into SPEn_ENBL bit in the SBI Bus Configuration Register. All SPEs default to being disabled.
*
* *
Set the proper operation mode by writing 0x0080 to the SBI Extract Master Interrupt Status Register Tributary type for each tributary. * The tributary type must be configured to be Framed without CAS. This is configured by setting TRIB_TYP to "01b" in the Extract/Insert. Tributary Control Register inside the INSBI/EXSBI for that tributary. The TRIB_TYP default value of "00b" is not supported A tributary can float or be locked to the SBI frame structure. Only floating tributaries are supported
* *
SBI Error Checking and Reporting * The following errors can be detected on a per link basis: FIFO overrun, FIFO underrun, and SBI parity error. These all can be enabled/disabled in the Insert/Extract Control Register. These errors result in either the SBI_DROP_INTR or SBI_ADD_INTR output being set. * Parity detection is done only on the drop bus, which is done by the EXSBI block. Parity can be configured to be odd or even, and it is default to be odd parity.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
347
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
*
FIFO overrun/underrun errors are reported by indicating error status in the Extract/Insert FIFO Underrun/Overrun Interrupt Status Register with the failing link identified. These interrupts can only be cleared by reading the FIFO overrun/underrun register with the failing link. Only one error can be reported at a time. However errors are latched internally so that if multiple errors occur, any pending errors will be reported when the first one is cleared. If the ALM bit in the SBI V4 byte is detected to be changed on a particular tributary, then the corresponding SPEx_ALRM_INT bit is set in the SBI Extract Alarm Interrupt Register. The SPEx_ALRM_STAT bit associated with that tributary indicates the current state of the Extract SBI ALARM on the SBI tributary. This SBI_ALRM_INTn interrupt can be cleared only by reading the SBI Extract Alarm Interrupt register.
*
*
12.3.1.1 * *
Programming Sequence for SBI To have a clean start up, the following programming sequences are recommended when setting up the SBI interface: General rules: * All INSBI/EXSBI read and write accesses must wait until the bistinit_done bit is set after chip SW_RESET is cleared, to allow time for the INSBI/EXSBI to complete self-initialization. Other general control register outside of INSBI/EXSBI can be configured at any time. At initialization, on the SBI Drop bus, the SBI tributary receiver should be enabled before the corresponding SBI tributary transmitter (i.e., configuring EXSBI before INSBI). The same applies for the SBI Add bus. Following a configuration change, which generates a Configuration Reset, a tributary may not become active for up to 1 ms following the change. Any write to a Tributary Control register for a tributary will generate a configuration reset on that tributary, irrespective of whether the data written to the tributary control register is unchanged from the previous value.
*
* *
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
348
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
*
If DC_EN is disabled and an overrun/underrun condition is reported for a link, the link should be reset by writing to the tributary control register for the tributary corresponding to that link. If DC_EN is set, then the tributary will automatically be reset.
*
INSBI/EXSBI Programming Steps: 1. For each write access, wait until the BUSY bit in the Insert/Extract Tributary RAM Indirect Access Control Register is clear. Note that the BUSY bit might not be ready for up to 4.32 us after a Control RAM access. 2. Once the BUSY bit is clear, write to the Insert/Extract Tributary RAM Indirect Access Address Register specifying the SPE and tributary that is about to be configured. 3. Then write into the Extract Tributary Control RAM Indirect Access Data register to specify the desired control values for that tributary. 4. Next, write into the Extract Tributary RAM Indirect Access Control register to specify whether this is to be a write or a read access, by clearing or setting the WRB bit in this register. The above 4 steps must be done and must be repeated for every tributary access.
*
Tributary Configuration Sequences: * * Configure all the Control RAM in both EXSBI and INSBI, following the above four steps. Enable the SPEs last by setting the SPEn_ENBL bits in the SBI_BUS_CFG_REG.
12.3.2 Configuring Clock/Data Interface The Clock/Data interface has 2 major modes, Channelized for E1/T1 traffic and unchannelized for other traffic types. Each link should be configured for channelized/unchannelized mode using the RCAS/TCAS link configuration registers. If configuring channelized links, the T1/E1 mode should be configured at the same time.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
349
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
One configured, the links are still disabled. The links must be mapped and provisioned (enabled) 12.3.2.1 Channelized
When channelized links are chosen, the RCAS/TCAS Framing Bit threshold must be configured to detect the gap in the clock for the framing bit/byte. This value is dependent upon frame type T1/E1, serial clock speed and REFCLK frequency. The Link Disable feature may be used when configuring a link to squelch all data from a link while it is being provisioned. For the Tx direction, the data sent in idle timeslots may be selected with the TCAS Idle Time-slot Fill data. For T1, all timeslots are used to carry the ATM cell data so all timeslots should be mapped to the same virtual link. A one-to-one mapping between physical links and virtual links is recommended. For E1, timeslots 0 and 16 are used for signaling data and do not contain ATM cell data. Therefore, timeslots 1-15 and 17-31 must be mapped and provisioned (enabled) to carry ATM cell data. All of the timeslots in a link should be mapped to the same virtual link. A one-to-one mapping between physical links and virtual links is recommended. For Fractional links, multiple fractional ATM flows may exist on the same physical link. Each flow should be mapped to a unique virtual link. There is a limit of 84 virtual links for the S/UNI-IMA-84. 12.3.2.2 Unchannelized
Unchannelized is usually used for data streams that are not either T1 or E1 framed. When using the unchannelized interface, the user is responsible for providing a clock which has all framing or overhead bits gapped out. The S/UNIIMA-84 receives/sources one bit of data for each clock pulse. The unchannelized mode allows a wider range of clock frequencies. As the serial line frequency increases, the number of links supported decreases. 12.3.2.3 Rules for Chosing Clock frequencies
SYSCLK(min) = Max((50MHz * Line Throughput(Mbps)/130 Mbps), REFCLK)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
350
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
4 14 + NumLines * Num.Lines * Line.Clock .Freq 3 REFCLK(min)= max , 6 4 * Line.Clock .Period 4 * Line.Clock .Period 3 Num.Lines max - 14 * 4 REFCLK .Period
Table 35 Serial Frequency 1.544 Mhz 2.048 Mhz 2.304 Mhz 8 Mhz REFCLK/SYSCLK frequency requirement # Links REFCLK SYSCLK Frequency Frequency
32 32 32 8
33 Mhz 33 Mhz 33 Mhz
52 Mhz
33 Mhz 33Mhz 33 Mhz 52Mhz
12.3.3 Configuring TC layer Options TC layer options in the transmit direction include scrambling and HEC generations. Scrambling should be set as required by the physical layer. TC layer options in the receive direction include descrambling, and interrupt reporting and error handling options. To properly support IMA applications, the TC layer functions should not filter out errored cells but pass them to the IMALAYER and let the IMA-LAYER filter them out. The options LCDOCDPASS, HCSPASS and UNASSPASS should be set for IMA applications. If these options are set for TC links, only the unassigned cells will not be filtered by the IMALAYER. When running IMA, there should never be any idle cells. If idle cells exist on an IMA link, it depends upon where the idle cells were inserted whether IDLEPASS is desired to be set. If the idle cells were incorrectly inserted by the TC layer, correct operation could be preserved in the face of errors if IDLEPASS is not set. If the idle cells are inserted by the link layer, correct operation may be preserved by setting IDLEPASS.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
351
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
The configuration options are programmed one link at a time by following the steps below:
*
RTTC/TTTC Programming Steps: 1. For each write access, wait until the LBUSY bit in the RTTC/TTTC Indirect Status Register is clear. Note that the LBUSY bit might not be ready for up to 86 REFCLK cycle after an access. 2. Once the BUSY bit is clear, write to the RTTC/TTTC Link Data Register to specify the desired configuration options for that link. 3. Next, write into the RTTC/TTTC Indirect Status register specifying the SPE and LINK that is about to be configured and whether this is to be a write or a read access, by clearing or setting the LWRB bit in this register.
12.3.4 UTOPIA Interface Configuration There is very little setup required to configure the Any-PHY/UTOPIA Interface. For typical operation, the following registers need to be written to select the mode of operation and the predefined address or address range of the S/UN-IMA-84 and the number of active ports of the S/UNI-IMA-84.
* * * * *
Transmit Any-PHY/UTOPIA Cell available Enable Receive UTOPIA Cell Available Enable Transmit Any-PHY Address Config Register Receive Any-PHY/UTOPIA Config register Transmit Any-PHY/UTOPIA Config Register
Once the registers are written with the proper configuration information, the enable bit should be set to enable normal operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
352
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
12.4 IMA_LAYER Configuration 12.4.1 Indirect access to internal memory tables The IMA-Layer operations are configured by internal memory tables. The access to these tables is by indirect access. The following procedure applies for the indirect accesses in the RIPP, RDAT, TIMA, TXIDCC, and RXIDCC blocks. 12.4.1.1 Write accesses
The indirect write access procedure is as follows: 1) Wait until the "BUSY" bit in the Block Indirect Memory Access Control Register is clear. 2) Once the BUSY bit is clear, write to the Block Data Indirect Data Register(s) to specify the data to be written for that link. 3) Next, write into the Block Indirect Memory Address register specifying the address that is about to be configured and then write Block Indirect Memory Command register to specify the table to be accessed and whether the access is to be a write or a read access, by clearing or setting the RWB bit in this register. Note that is some instances, the Block Indirect Memory Address register is combined with the Block Indirect Memory Access Control Register 12.4.1.2 Read Accesses
The indirect read access procedure is as follows: 1) Wait until the "BUSY" bit in the Block Indirect Memory Access Control Register is clear. 2) Once the BUSY bit is clear, write into the Block Indirect Memory Address register specifying the address that is about to be configured and then write Block Indirect Memory Command register to specify the table to be accessed and whether the access is to be a write or a read access, by clearing or setting the RWB bit in this register. Note that is some instances, the Block Indirect Memory Address register is combined with the Block Indirect Memory Access Control Register
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
353
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
3) Poll the "Busy" bit in the Block Indirect Memory Access Control until it is cleared. 4)Read returned data from the Block Data Indirect Data Register(s). 12.4.2 Configuring Links for Transmission Convergence Operations After all of the interfaces have been configured, in order to configure a link for ATM over T1/E1, the mapping from physical link to Any-PHY/UTOPIA address must be set and the link must be set to TC mode within the IMA sublayer. Also, all link based statistics should be cleared. For TC only links, all RIPP tables are not used and should not be programmed. 12.4.2.1 Transmitter
To map the physical link to a ANY-PHY/UTOPIA address, the VPHY address field must be programmed in the TIMA Physical Link Context Record for the physical link. All other fields in this table should be cleared to zero. This table may be accessed by the TIMA Indirect Memory access registers. To put the physical link into TC mode set the TC_MODE bit in the TXIDCC. This bit may be accessed by the TXIDCC Indirect Memory Access registers. 12.4.2.2 Receiver
To map the physical link to an Any-PHY/UTOPIA address, the VPHY address field must be programmed in the RDAT TC Context Record for the physical link. All other fields in this table should be cleared to zero. This table may be accessed by the RDAT Indirect Memory access registers. The RDAT Link Statistics Record, the RDAT TC Group Statistics Record, the RDAT Link Context Record should also be cleared to zero to reset the statistic counts. The RDAT Validation Record should be set to TC_MODE. To put the physical link into TC mode, set the TC_MODE bit in the RXIDCC. This bit may be accessed by the RXIDCC Indirect Memory Access registers. Note: To successfully configure a DS3 connection, the configuration must be done prior to enabling the data flow. This can be done by configuring the RDAT prior to setting the EXSBI TRIB_ENBL bit and setting the SPEn_ENBL bit.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
354
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Set the RDAT_EN bit in the RDAT CONFIGURATION register. 12.4.2.3 Removing Links from Transmission Convergence Operations
To disable a link in TC mode in the transmitter, the TC_MODE bit in the TXIDCC must be cleared. To disable a link in TC mode in the receiver, first the RDAT Validation Record should be cleared, then the TC_MODE bit in the RXIDCC must be cleared. This sequence will ensure that transient interrupts are not generated.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
355
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
12.4.3 Configuring For IMA Operations All IMA timeouts are programmable. In general, the default values result in ~1 sec timeouts with a 55 MHz SYSCLK. The global IMA interrupt enables default to disabled. In an interrupt driven system, these interrupt should be selectively enabled in registers 0x218, 0x21A, and 0x21C. RIPP_EN in Register -x200 controls whether internal IMA state machines engine is enabled. This must be set for proper operation. IMA groups are configured using the following per group tables:
* * * *
RIPP Group Configuration Record: Group options and configuration, TIMA TX-LID-to-Physcial-Link Mapping Table: maps Group Tag/LID to physical Link. TIMA TX Group Configuration Record: maps group to Any-PHY/UTOPIA port ID, sets stuffing mode and OAM label. RDAT IMA Group Context Record: maps group to Any-PHY/UTOPIA port ID
and also the following per link tables:
* * * *
12.4.3.1
RIPP TX Link Configuration Record: maps physical Link to Group Tag/LID, enables TX Link Interrupts. RIPP RX Link Configuration Record: maps physical Link to Group Tag, enables RX link interrupts TIMA TX Physical Link Context Record: sets ICP offset. RDAT Link Context Record: maps physical link to group. Configuring a Group for IMA
IMA groups within the S/UNI-IMA-84 are identified by a "group tag". The group tag is an identifier with values from 0 to 41 that uniquely identifies the group for
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
356
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
programming and reporting purposes within the S/UNI-IMA-84. The group tag is completely independent of the Group ID located within the ICP cells. Once a group tag is chosen for a group, the following records need to be programmed for the group: RIPP Group Configuration Record: Initial group options and configuration, After the group is started, the following configuration options may be changed only with a RIPP command or in conjunction with a group restart. Expected OAM Label Group Symmetry IMA 1.1 versus IMA 1.0 IMA ID M Expected Clk Mode (ITC/CTC) The following entries within the RIPP Group Configuration Record may be changed without a group restart of RIPP command. When changing these fields, care must be taken not to change other fields. Minimum # of Links Differential delay tolerance and options per group Interrupt enables Rx Physical links that are in the group TX LID to Link Mapping Table: Select the LIDs to be used by the TX Links and program the physical links into the appropriate Group Tag/LID locations. TIMA Group Configuration Record: TX VPHY ID Stuff Advertise Mode
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
357
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Actual stuffing mode(ITC/CTC) used Transmitted OAM label. RDAT IMA Group Context Record RX VPHY ID Also, while configuring a group, the context records that contain statistics should be initialized. The following records should be initialized to zero: RIPP group Context Record, RDAT IMA Group Statistics Record, TIMA Group Context Record. 12.4.3.2 Configuring a Link for IMA
All link-based records are indexed by the physical link ID. Prior to configuring a link, the user should check to ensure that it is not in use already. This is necessary since link deletion from a group may take some time due to the necessity of allowing the DCB buffer for the link to drain. Reading the RX_ENABLE bit in the RIPP RX Link context record and the TX_ENABLE bit in the RIPP TX Link Context record can check this. The following fields in the following records need to be programmed; other fields in the records should be cleared to zero. RIPP TX Link Configuration Record TX_LID Group Tag per link Interrupt enables RIPP RX Link Configuration Record Group Tag per link Interrupt Enables
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
358
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
TIMA Physical Link Context Record ICP Offset Startup Cell Count = b'100 RDAT Link Context Record Group Tag Also, while configuring a link, the context records that contain statistics and assorted context should be initialized to zero. The following records should be initialized to zero: RIPP TX Link Context Record, RIPP RX Link Context Record, RDAT Link Statistics Record, RDAT Link Validation Record RXIDCC Link Data TXIDCC Link Data In addition, the msg_status bit in the RDAT Link Message Status Record must be cleared using a read-modify-write operation. The other bits in the record contain link specific internal context which must be maintained. There will be no contention for this memory between PM and the RDAT if the operation is performed while the link is not enabled for TC or IMA operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
359
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
12.5 IMA Operations IMA operations are controlled via commands issued to the RIPP (Receive IMA protocol processor). In general, once started, the RIPP performs the hand shaking of state transitions between the near-end and far-end of an IMA connection. 12.5.1 Issuing a RIPP Command The RIPP commands control the LSM and GSM state machines. The group is identified by the group tag and the links involved are identified with a 32-bit vector. The TX_LINK_VEC has one bit for each TX LID and bit 0 indicates TX LID 0 and bit 31 indicates TX LID31. For symmetrical operations, the RX LIDs are not known until the ICP cells from a link are validated. The user controls the relationship between physical links and the RX Link vector through the RX Physical Link Table in the RIPP Group Configuration record. The RX physical Link Table should be configured according to the TX LID values. For example, the physical link ID for the Link with TX LID = 0 should be programmed as the RX physical link 0. When using the RIPP commands, the physical link entered for RX physical link 0 will be controlled by bit 0 of the RX_LINK_VEC and the physical link entered for RX Physical link 31 in the table will be controlled by bit 31 of the RX_LINK_VEC. For asymmetric operations, since there is not a TX link for each possible RX link and the RX LIDs are not known until the ICP cells from a link are validated, the user controls the relationship between physical links and the RX Link vector through the RX Physical Link Table in the RIPP Group Configuration record. There are no restrictions on how this table should be configured in asymmetrical mode. The contents of the RX_PHY_TABLE do not depend on LID values. When using the RIPP commands, the physical link entered for RX physical link 0 will be controlled by bit 0 of the RX_LINK_VEC and the physical link entered for RX Physical link 31 in the table will be controlled by bit 31 of the RX_LINK_VEC. The RIPP command procedure is as follows: 1) Wait until the "CMD_BUSY" bit in the RIPP Command Register is clear. 2) Once the CMD_BUSY bit is clear, write the necessary data for the command registers 0x222 - -x22C (RIPP CMD_WR_DATA1 through RIPP CMD WR_DATA3).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
360
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
3) Write the RIPP CMD Register with the command code and group tag for the command. 4) Poll the "CMD_BUSY" bit in the RIPP Command Register and when cleared, check the status of the command. Commands may be rejected when illegal actions are requested. An example of an illegal action is to start a LASR when one is already in progress. 4) If the command was a "Read_event" or "Read Delay", the returned data can now be read from the RIPP Command Data Register Array located at addresses 0x240 - 0x2BE. 12.5.2 Summary of RIPP commands The following is a summary of all RIPP commands that are currently supported. For the detailed command bit encoding info, refer to the "registers" section. 1. Add_group Function Add one new group to the device. Note that this must be the first command to be issued to the group, if any other command is issued prior to this, it will be considered invalid and rejected. Group tag and vector of LIDS to be included in group Require configuration of all link and group records as detailed in 12.4.3.1 and 12.4.3.2. None.
Parameters Pre-requisite Restriction
2. Delete_group Function Parameters Pre-requisite Restriction Remove an existing group and all its links immediately. Group Tag None. None.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
361
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
3. Restart_group Function Parameters Pre-requisite Restart the specified group (GSM goes back to start-up state). Group Tag If any group configuration info needs to be changed, PM must do so prior to issuing this command by writing to the RIPP Group Configuration memory. None
Restriction
4. Inhibit_group Function Set the internal group inhibiting status flag. Once a group is considered inhibited, it will not go to OPERATIONAL state even if sufficient links exist in the group. If the group is already in OPERATIONAL state when the command is issued, the GSM will go to BLOCKED state and thus block the TX data path. However the RX data path remains on. Parameters Pre-requisite Restriction Group Tag None. None.
5. Not_inhibit_group Function Clear the internal group inhibiting status. If the group is currently in BLOCKED state and there are sufficient links in the group, the GSM will go to OPERATIONAL state. Group Tag None. None.
Parameters Pre-requisite Restriction
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
362
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
6. Start_LASR Function Start LASR procedure on one or more links. The links involved may either be new links or existing links with a failure/fault/inhibiting condition. TX_LINK_VEC and RX_LINK_VEC are 32-bit vectors with the same bit mapping as TX_PHY_VALID or RX_PHY_VALID respectively, the bits corresponding to the new links are set to `1'. If the group configuration is symmetric, the TX_LINK_VEC and RX_LINK_VEC should be identical. Group Tag and vector of LIDS to be included in LASR Link records need to be properly initialized by PM prior to issue this command. Also RDAT/TIMA needs to be initialized properly to reflect the new links, if any. This command will be rejected if there is currently an active LASR procedure.
Parameters Pre-requisite
Restriction 7. Delete_link Function
Remove links from the group. The TX_LINK_VEC and RX_LINK_VEC fields indicate the links to be removed. If the group configuration is symmetric, the TX_LINK_VEC and RX_LINK_VEC should be identical. Group Tag and vector of LIDS to be deleted None. Deletion of a TRL Link is a special case. A group will not be able to operate normally without both the TX TRL and the RX TRL. Therefore, the TRL link should not be deleted unless it is the last link in the direction. Also, IMA protocol requires there to be at least 1 link in both directions, therefore PM should not delete the last link left in either direction in cases other than a complete group removal.
Parameters Pre-requisite Restriction
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
363
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
8. Set_rx_phy_defect Function Indicate to RIPP that the given link(s) have/have not physical defects (such as LOS/AIS) which is not detectable internally. TX_LINK_VEC and RX_LINK_VEC indicate the links affected. Group Tag and vector of LIDS to be included in group None. None.
Parameters Pre-requisite Restriction
9. Unusable_link Function Indicate to RIPP that the given link(s) are unusable for certain reasons. TX_LINK_VEC and RX_LINK_VEC indicate the links affected. TX_CAUSE and RX_CAUSE indicates the reason for the link to be UNUSABLE. Note it is possible to change the cause for the link to be unusable even after it enters the unusable state. Parameters Pre-requisite Restriction Group Tag and vector of LIDS to be made unusable and the cause to report why the link is unusable None. It is required that PM must use one of the four defined causes (failed, fault, mis-connected, inhibited) if an unusable cause is to be reported to the far-end via the ICP cell.
10. Update_test_ptn Function Update the TX test pattern info to be sent in the outgoing ICP cells for the group. This command also causes the SCCI field in the next outgoing ICP cell to increase. Group Tag and TX Test pattern and Test pattern LID None. None.
Parameters Pre-requisite Restriction
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
364
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
11. Update_tx_trl Function Update the transmit timing information (TX TRL and clock mode) to be sent in the outgoing ICP cells. The TRL is also used to control the TX IDCC. This command also causes the SCCI field in the next outgoing ICP cell to increase. Group Tag and LID for new TRL None. It is up to the user to pick a valid TRL to satisfy the requirement in the IMA spec. At least, a TRL that is currently configured to be in the group should be selected; otherwise the group will not be able to operate normally.
Parameters Pre-requisite Restriction
12. Read_event Function Read and clear the latched event status of the specified group and all its' links. The result read from the internal context memory is stored in Cmd_rd_data00 through cmd_rd_data1F. Refer to the "registers" section for further details. Parameters Pre-requisite Restriction 13. Read_delay Function Read all the DCB write pointers and link defect status of all links in the specified group. The result is stored in Cmd_rd_data00 through cmd_rd_data1F. Refer to the "registers" section for further details. Parameters Pre-requisite Group Tag None. Group Tag None. This command will be rejected on Deleted groups.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
365
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Restriction
None.
14. Adjust_delay Function Start an adjust_delay procedure on the specified group. The amount of delay to be removed/added is specified as part of parameters. Group Tag and amount of delay in cells None. This command will be rejected if there is currently another adjust_delay procedure in progress or if there is currently a group-wide procedure (group start-up or LASR) in progress.
Parameters Pre-requisite Restriction
12.5.3 Adding a Group In order to add a group, the Group and Link configuration should be performed. Next, the Add_Group command should be issued. This command will initiate the Group and Link State Machines. Is starts the GSM arbitration and automatically starts a LASR procedure. The Add_Group command continues after the CMD_ACK is returned. The completion of the command is generally indicated by an event that indicated either that the process timed-out or the group has become operational. If a timeout occurs, PM should take appropriate action and either restart the group with new parameters or add additional links to the group. The event that indicates that the Add_Group command has completed successfully is either the GTSM_INT with the GTSM state = Operational or GSM_INT with the GSM state = Operational. Events that indicate that the Add_Group command has completed but was not successful are the following: NE_ABORT_INT FE_ABORT_INT GROUP_TIMEOUT_INT FE_TIMEOUT_INT Events that indicate that individual links are experiencing problems and did not become active are the following:
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
366
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
DIFF_DELAY_INT INVALID_ICP_INT RX_TIMEOUT_INT TX_TIMEOUT_INT In order to track the progress of the command, interrupts may be enabled for GSM state changes and for the LSM state changes for all of the links. This may result in a large number of events if the group includes a large number of links. NOTE: If the TRL link is not validated on the RX side, since the group does not have a valid TRL, the group will not come up and will not report any events. If this happens, a Restart_group command must be executed to recover. 12.5.4 Deleting a Group There are two methods of bringing a group down. To bring a group down and preserve data that has already been transmitted, it is recommended that the links be deleted first using the Delete_link command. This will result in the GSM transitioning to the insufficient links state when the number of active links falls below the minimum required links. Once the delete links is complete and all of the accumulated DCB data is played out, the Delete_group command deletes the existing group. To determine if the deleted links have all of the DCB data played out, the TX_LINK_EN and RX_LINK_EN bits may be polled in the RIPP Link Context records. Once the Delete_group command is executed, all links within the group will immediately stop transmitting IMA frames, and all received cells queued in the DCB buffer will be dropped. If data preservation is not a concern, a group may be removed immediately by issuing the Delete_group command. It is recommended that interrupts be disabled prior to the group deletion since the group deletion itself causes an interrupt to occur. If a Read_event command is issued on a deleted group, the command will be rejected. If interrupts are not disabled, care must be taken to ensure proper servicing of the RIPP Interrupt FIFO prior to reusing the group to avoid overrunning the RIPP Interrupt FIFO (interrupt from group prior to deletion and interrupt from group after re-use both in FIFO, and the FIFO is sized to have a maximum of one event per group.) 12.5.5 Restart Group To restart a group or issue a local reset to a group, the Restart_group command is used. Upon a Restart_group, the specified group's GSM will immediately transition to the Start-up state and try to renegotiate the IMA parameters. This
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
367
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
command should be used after changing the M values, IMA ID, group symmetry, or OAM value on a group. 12.5.6 Inhibit Group/Not inhibit Group To move a GSM into/out of the Blocked state, the Inhibit_group and Not_inhibit_group commands may be used. These commands set a mode such that the current GSM state is not important. Once set to the inhibit mode, the GSM will go to the Blocked state instead of the Operational state. The Not_inhibit_group command must be executed to remove this setting. 12.5.7 Adding a link or Links to an existing Group (Start LASR) In order to add links to an existing group, the START_LASR command is used. Prior to issuing this command, the link configuration should be performed as in 12.4.3.2. The Start_LASR command will initiate the Link Addition and Slow Recovery Procedure. The LASR procedure is paced by either (1) all of the indicated links' LSMs transitioning to the appropriate states or (2) the programmed link timeouts in the presence of defective or slow links. The LASR procedure continues after the CMD_ACK is returned. While a LASR procedure is in process, no other LASR procedure may be started on the same group. The completion of the command is generally indicated by an event that indicated either that the process timed-out or the links have become operational. If a timeout occurs, PM should take appropriate action and either restart the LASR procedure in the case that the handshaking was just slow or replace defective links. The event that indicates that the Start_LASR command has completed successfully for symmetrical groups is the TX_ACTIVE_INT for all links involved. Due to the group wide synchronization, this event should occur for all links simultaneously. For asymmetrical groups, the RX_ACTIVE_INT indicates the completion of the LASR for receive links. Events that indicate that individual links are experiencing problems and did not become active are the following: DIFF_DELAY_INT INVALID_ICP_INT RX_TIMEOUT_INT TX_TIMEOUT_INT
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
368
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
If a timeout event occurs, another LASR procedure must be execute to continue attempting to bring links to the active state. In order to track the progress of the command interrupts may be enable the LSM state changes for all of the links. This may result in a large number of events if the group includes a large number of links. 12.5.8 Reporting Link Defects in the ICP cell LIF, LODS, and LCD defects are automatically detected and reported in the ICP cell by the S/UNI-IMA-84. Other physical layer defects such as LOS, OOF, AIS are not detected by the S/UNI-IMA-84. To enable reporting of these defects, the Set_rx_defect command is provided to force the contents of the RDI field in the ICP cell. 12.5.9 Faulting/Inhibiting Links The S/UNI-IMA-84 reports defects to the upper layer S/W and allows the upper layer S/W declare fault conditions based upon defect information. In order to force a link into a Fault or Failure state, the Unusable_Link command is used. This link can operate on multiple links at a time. Once executed, the LSM of the affected links are transitioned to the Unusable state. If inhibiting the link without data loss is required, it is necessary to specify the cause as "inhibited". Normally when inhibiting a link, the link has been active for a while. If a link is inhibited immediately after becoming active, data loss can occur. If the S/UNI-IMA-84 has not yet received ICP cells from the link that indicates the link is active when the link is inhibited, data loss may occur. Note that links currently experiencing defect conditions will still experience loss of data even when inhibiting. When links are faulted, the existing data within the DCB is still played out on the ATM interface. 12.5.10 Change TRL
To change the TRL link, the Update_TRL command is used. The new TRL is immediately used for scheduling the group and will be reported as the TRL in the next ICP cell. If CTC timing is used, the stuffing is not affected. If ITC timing is used, the reference link is changed to the new TRL. The first stuff on the new TRL will occur on approximately the same frame as the stuff would have occurred when it was a non-reference link. After the first stuff on the new TRL, the new TRL will be stuffed every 2049 cells.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
369
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
12.5.11
Deleting a Link from a Group
A link can be deleted from a group by using the delete Link command. On the transmit side, the link will stop accepting ATM cells immediately and will transmit filler cells only. The links will be removed from the TX round-robin on the next frame boundary. On the receive side, the deleted link/links will transition to the Deleted state to ensure that all transmitted data is received into the DCB buffer. Once the FE TX state is detected as not active or the RX_LINK_DELETED timeout occurs, the RX links stop writing data to the DCB buffers. The DCB buffers allowed to underrun (preserving any previously stored data) prior to being disabled and removed from the receive round-robin. The RX_ENABLE bits and TX_ENABLE bits in the RIPP Link context records should be monitored to determine when the links can be reassigned to a different group. 12.5.12 Test Pattern Procedures
The test pattern procedure consists of 2 parts, issuing the test pattern and checking the test pattern. To issue a test pattern, the update_tst_ptn command is used. This starts the transmission of the new test pattern. The S/UNI-IMA-84 will always loopback the test pattern indicated in the ICP cell. Since each link may experience different round trip delays, the checking of the test pattern is split between the user and the S/UNI-IMA84. The S/UNI-IMA-84 will compare test pattern received in the ICP cell with the test pattern that was sent on every received ICP cell. The S/UNI-IMA-84 stores the success or failure of this operation in the word 9 of the RIPP Group configuration register. The user is responsible for checking the results after a sufficient time has passed for a round trip delay on all links. NOTE: If no ICP cells are received for a particular LID, the RX_TEST_PTN_Match field is never updated. 12.5.13 IMA Events
All of IMA events are reported via a group-based structure. IMA events include link defects and link and group state machine changes. Any enabled IMA event will cause a RIPP_INTR. All IMA events may be enabled for reporting at the Group/link level as well as a globally. Both the individual link/group enable as well as the global enable must be set to have an IMA event cause an RIPP_INTR.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
370
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
As enabled IMA events occur, a message is placed with the RIPP_INTR FIFO. Once a message is placed with the FIFO, another message will not be generated until the read_event command is executed for the group. During this period of time, additional events can accumulate and will be reported with the Read_event command when executed. The Read_event command queries the links within the group and provides all of the link and group information in a single data structure. To ease the processing load, a map that shows which links are experiencing INTR conditions is provided in page 0 of the returned status. Page 1 contains the interrupt conditions and page 2 provides the status. The majority of the error/interrupt processing may be performed with the information provided by the Read_event command. 12.5.14 End-to-end Channel Communication
According to the IMA spec, end-to-end channel is a proprietary communication channel via the corresponding field in the ICP cells. The S/UNI-IMA-84 provides access to this facility through the following means:
*
In the outgoing direction, the end-to-end channel may be updated by writing to the TX_END_CHANNEL field in the RIPP group configuration record at any time. In the incoming direction, the end-to-end channel information may be accessed by reading the ICP cell buffer memory.
*
12.6 Diagnostic features 12.6.1 ICP Cell Trace The S/UNI-IMA-84 can be configured to forward incoming ICP cells to microprocessor, by setting the proper bits in the RIPP Group Configuration memory. The content of the forwarded ICP cell is stored in the ICP cell buffer registers. The ICP cell data exchange between RIPP and the microprocessor is controlled via the use of a lock bit (which is located in the ICP cell forwarding Control register) and the PM_ICP_AVL interrupt. The data exchange protocol is as follows: 1. S/UNI-IMA-84 sees a new ICP cell and starts polling the lock bit. 2. If the lock bit is current set, the cell is not forwarded.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
371
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
3. The ICP cell data content is copied to the ICP cell buffer registers. 4. The PM_ICP_AVL bit is set, this will cause an ICP_CELL_AVL_INT. 5. To read the ICP cell, the lock bit must be set by writing `1' to the ICP_FWD_LOCK_REQ bit in the ICP forwarding control register. Once the lock is granted when the ICP_FWD_LOCK_GRANT bit read back as `1'. The lock bit must be set prior to clearing the interrupt, otherwise it is possible to have multiple interrupt generated. 6. The interrupt should be cleared by reading the ICP cell forwarding status register. 7. The data may be readout from Forwarding ICP cell buffer registers. 8. The ICP_FWD_LOCK_REQ should be cleared bit by writing to the register location. 12.6.2 SDRAM Diagnostic access Diagnostic access of the external SDRAM is provided to enable SDRAM initialization and testing. The access to the SDRAM is provided on a cell buffer granularity. Each cell buffer is 64 bytes. By providing cell buffer burst access to the SDRAM, the SDRAM diagnostic accesses utilize the same burst access timing as is used when the S/UNI-IMA-84 is operating. Prior to performing any diagnostic accesses to the SDRAM, the SDRAM interface must be placed in diagnostic mode. In diagnostic mode, all automatic accesses from the S/UNI-IMA-84 (except refresh) are disabled and all accesses are controlled via the microprocessor interface. To write to the SDRAM, first the image of the cell must be written into the SDRAM DIAG Burst-Write RAM using the SDRAM DIAG Burst RAM Indirect Access. Once the image of the cell has been written, a command to transfer the data into the external SDRAM should be issued using the SDRAM DIAG WRITE CMD registers. The SDRAM DIAG WRITE CMD registers specify the address of the cell buffer to be written in the external SDRAM. For a read operation, a read command is issued using the SDRAM DIAG READ CMD registers. This command transfers data from the SDRAM into the internal cell buffer. When the command is complete as indicated by the RDBUSY bit in the command register, the data may be read out of the cell buffer using the SDRAM DIAG Burst RAM indirect access.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
372
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Note that there is no CRC protection for data in diagnostic mode. By providing both Read Command registers and write command registers, a back-to-back read/write access may be performed to the SDRAM. 12.7 IMA Performance Parameters and Failure Alarms Support A number of IMA performance parameters and failure alarms are defined in the IMA spec (section 12.2.2) as a standardized interface to IMA unit management functions. The following text summarizes the support provided by S/UNI-IMA-84 to implement those functions. Table 36 Req. R-125 O-20 R-126 R-127 R-128 R-129 R-130 IMA Performance Parameter Support S/UNI-IMA-84 support
Performance parameter IV-IMA OIF-IMA SES-IMA SES-IMA-FE UAS-IMA UAS-IMA-FE TX-UUS-IMA
NE RX IMA defects will cause interrupts. RDI-IMA defects will cause interrupts. Derived from SES-IMA, no support. Derived from SES-IMA-FE, no support. S/UNI-IMA-84 provides read access to the TX LSM in RIPP link context records. Note after link start-up, it is up to PM to put the LSM into UNUSABLE state. S/UNI-IMA-84 provides read access to the RX LSM in link context records. Note after link start-up, it is up to PM to put the LSM into UNUSABLE state. S/UNI-IMA-84 may generate an interrupt once FE TX LSM enters UNUSABLE state. S/UNI-IMA-84 may generate an interrupt once FE RX LSM enters UNUSABLE state.
R-131
RX-UUS-IMA
R-132 R-133
TX-UUS-IMA-FE RX-UUS-IMA-FE
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
373
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
R-134 R-135 O-21
TX-FC RX-FC TX-FC-FE
Failure condition is declared by PM, no support provided. Failure condition is declared by PM, no support provided. S/UNI-IMA-84 may generate an interrupt once FE TX LSM is in UNUSABLE state, PM may then read the FE LSM state in the RIPP context memory to determine the case. S/UNI-IMA-84 may generate an interrupt once FE RX LSM is in UNUSABLE state, or a RDI-IMA indication is sent by FE. S/UNI-IMA-84 provides counter of inserted stuff events per link. S/UNI-IMA-84 provide counter of received stuff events per link S/UNI-IMA-84 may generate an interrupt when a GTSM transition happens. S/UNI-IMA-84 provides interrupt and read access to internal context for various error conditions. See Table 37 for details. S/UNI-IMA-84 provides interrupt and read access to internal context for various error conditions. See Table 37 for details.
O-22
RX-FC-FE
O-23 O-24 R-136 R-137
TX-STUFF-IMA RX-STUFF-IMA GR-UAS-IMA GR-FC
O-25
GR-FC-FE
Table 37 Req. R-138
IMA Failure Alarm Support S/UNI-IMA-84 support S/UNI-IMA-84 may generate an interrupt and latch the internal LIF error status once a link enters or exits LIF defect. S/UNI-IMA-84 may generate an interrupt and latch the internal LODS error status once a link enters or
Failure Alarm LIF
R-139
LODS
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
374
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
exits LODS defect. R-140 RFI-IMA S/UNI-IMA-84 may generate an interrupt and latch the internal RDI-IMA status when RDI-IMA condition is entered or exited on a TX link. It is up PM to declare the alarm condition. It is up to PM to detect mis-connectivity on TX links, possibly through the use of test patterns. FE may indicate that the link is mis-connected by moving the RX LSM to corresponding UNUSABLE state, in which case RIPP will generate an interrupt and latch the error status. R-142 RX-Mis-Connected It is up to PM to detect mis-connectivity on RX links. One possible way is to utilize the RX_IMA_ID field in the group context. Instead of letting RIPP capture the RX_IMA_ID from incoming ICP cells, PM can choose to initialize the group context with a expected RX_IMA_ID and set the RX_IMA_ID_VALID field to `1'. In this case the mis-connected RX links will likely to have a wrong IMA ID value and will not come up, which will eventually cause an interrupt. Also PM may utilize the test pattern procedure for this purpose. O-28 TX-Fault It is up to PM to declare fault conditions on TX links. To facilitate this, RIPP provides read access to the NE/FE LSM and GSM states in the context memory. It is up to PM to declare fault conditions on RX links. To facilitate this, RIPP provides read access to the NE/FE LSM and GSM states in the context memory. S/UNI-IMA-84 may generate an interrupt and latch the internal FE_TX_Unusable error status, once FE TX LSM enters UNUSABLE state. S/UNI-IMA-84 may generate an interrupt and latch the internal FE_RX_Unusable error status, once FE
R-141
TX-Mis-Connected
O-29
RX-Fault
R-143
TX-Unusable-FE
R-144
RX-Unusable-FE
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
375
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
RX LSM enters UNUSABLE state. R-145 Start-up-FE S/UNI-IMA-84 may generate an interrupt if a FE GSM state transition occurs. PM may then read the FE GSM state from the RIPP context memory. S/UNI-IMA-84 may generate an interrupt and latch the internal Config-Aborted error status, once it decides the FE parameters are unacceptable and the GSM should go to Config-Aborted state. S/UNI-IMA-84 may generate an interrupt and latch the internal Config-Aborted-FE error status, once it detects the FE GSM is in Config-Aborted state. S/UNI-IMA-84 may generate an interrupt if GSM state transition occurs. PM may then read the GSM state from the RIPP context memory. S/UNI-IMA-84 may generate an interrupt if a FE GSM state transition occurs. PM may then read the FE GSM state from the RIPP context memory. S/UNI-IMA-84 may generate an interrupt if a FE GSM state transition occurs. PM may then read the FE GSM state from the RIPP context memory. S/UNI-IMA-84 may generate an interrupt and latch the relevant error status, once it detects a mismatch between TX and RX clock modes.
R-146
Config-Aborted
R-147
Config-Aborted-FE
R-148
Insufficient-Links
R-149
Insufficient-Links-FE
R-150
Blocked-FE
R-151
GR-Timing-Mismatch
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
376
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
13
FUNCTIONAL TIMING This section shows the functional relationship between inputs and outputs. No propagation delays are shown.
13.1 SBI DROP Bus Interface Timing Figure 26
REFCLK C1FP DDATA[7:0] DPL DV5 DDP C1
- SBI DROP Bus T1/E1 Functional Timing
*** *** *** *** *** ***
V3
V3
V3 DS0#4. V5 DS0#9.
Figure 26 illustrates the operation of the SBI DROP Bus, using a negative justification on the second to last V3 octet as an example. The justification is indicated by asserting DPL high during the V3 octet. The timing diagram also shows the location of one of the tributaries by asserting DV5 high during the V5 octet. Figure 27
REFCLK C1FP DDATA[7:0] DPL DV5 DDP C1
- SBI DROP Bus DS3 Functional Timing
*** *** *** *** *** ***
H3
H3
H3
DS-3 #1 DS-3 #2 DS-3 #3DS-3 #1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
377
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 27 shows three DS-3 tributaries mapped onto the SBI bus. A negative justification is shown for DS-3 #2 during the H3 octet with DPL asserted high. A positive justification is shown for DS-3#1 during the first DS-3#1 octet after H3 (which has DPL asserted low). 13.2 SBI ADD Bus Interface Timing The SBI ADD bus functional timing for the transfer of tributaries - whether T1/E1 or DS3 - is the same as for the SBI DROP bus. The only difference is that the SBI ADD bus has a few additional signals. The AJUST_REQ signal is used to by the TEMUX-84 in SBI master timing mode to provide transmit timing to SBI link layer devices. The AACTIVE signal is asserted whenever the S/UNI-IMA-84 is driving the SBI ADD bus and is used with the ADETECT signals of other Link devices to detect and protect against SBI ADD bus conflicts. Figure 28
REFCLK C1FP ADATA[7:0] APL AV5 ADP AJUST_REQ AACTIVE C1
- SBI ADD Bus Adjustment Request Functional Timing
*** *** *** *** *** *** *** *** H3 H3 H3
DS-3 #1 DS-3 #2 DS-3 #3DS-3 #1
Figure 28 illustrates the operation of the SBI ADD Bus, using positive and negative justification requests as an example. (The responses to the justification requests would take effect during the next multi-frame.) The negative justification request occurs on the DS-3#3 tributary when AJUST_REQ is asserted high during the H3 octet. The positive justification occurs on the DS-3#2 tributary when AJUST_REQ is asserted high during the first DS-3#2 octet after the H3 octet. The AACTIVE signal is shown for the case in which S/UNI-IMA-84 is driving DS-3#2 onto the SBI ADD bus.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
378
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
13.3 Receive Link Input Timing The timing relationship of the receive clock (RSCLK[n]) and data (RSDATA[n]) signals of an unchannelized link is shown in Figure 29. The receive data is viewed as a contiguous serial stream. There is no concept of time-slots in an unchannelized link. Each eight bits is grouped together into a byte with arbitrary alignment. The first bit received (B1 in Figure 29) is deemed the most significant bit of an octet. The last bit received (B8) is deemed the least significant bit. Bits that are to be processed by the S/UNI-IMA-84 are clocked in on the rising edge of RSCLK[n]. Bits that should be ignored (X in Figure 29) are squelched by holding RSCLK[n] quiescent. In Figure 29, the quiescent period is shown to be a low level on RSCLK[n]. A high level, effected by extending the high phase of the previous valid bit, is also acceptable. Selection of bits for processing is arbitrary and is not subject to any byte alignment or frame boundary considerations. Figure 29 - Unchannelized Receive Link Timing
RSCLK[n] RSDATA[n]
B1 B2 B3 B4 X B5 X X X B6 B7 B8 B1 X
The timing relationship of the receive clock (RSCLK[n]) and data (RSDATA[n]) signals of a channelized T1 link is shown in Figure 30. The receive data stream is a T1 frame with a single framing bit (F in Figure 30) followed by octet bound timeslots 1 to 24. RSCLK[n] is held quiescent during the framing bit. The RSDATA[n] data bit (B1 of TS1) clocked in by the first rising edge of RSCLK[n] after the framing bit is the most significant bit of time-slot 1. The RSDATA[n] bit (B8 of TS24) clocked in by the last rising edge of RSCLK[n] before the framing bit is the least significant bit of time-slot 24. In Figure 30, the quiescent period is shown to be a low level on RSCLK[n]. A high level, effected by extending the high phase of bit B8 of time-slot TS24, is equally acceptable. In channelized T1 mode, RSCLK[n] can only be gapped during the framing bit. It must be active continuously at 1.544 MHz during all time-slot bits. Time-slots can be ignored by setting the PROV bit in the corresponding word of the receive channel provision RAM in the RCAS block to low.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
379
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 30
- Channelized T1 Receive Link Timing RSCLK[n]
RSDATA[n]
B7 B8 F B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 TS 24 TS 1 TS 2
The timing relationship of the receive clock (RSCLK[n]) and data (RSDATA[n]) signals of a channelized E1 link is shown in Figure 31. The receive data stream is an E1 frame with a single framing byte (F1 to F8 in Figure 31) followed by octet bound time-slots 1 to 31. RSCLK[n] is held quiescent during the framing byte. The RSDATA[n] data bit (B1 of TS1) clocked in by the first rising edge of RSCLK[n] after the framing byte is the most significant bit of time-slot 1. The RSDATA[n] bit (B8 of TS31) clocked in by the last rising edge of RSCLK[n] before the framing byte is the least significant bit of time-slot 31. In Figure 31, the quiescent period is shown to be a low level on RSCLK[n]. A high level, effected by extending the high phase of bit B8 of time-slot TS31, is equally acceptable. In channelized E1 mode, RSCLK[n] can only be gapped during the framing byte. It must be active continuously at 2.048 MHz during all time-slot bits. Time-slots can be ignored by setting the PROV bit in the corresponding word of the receive channel provision RAM in the RCAS block to low. Figure 31
RSCLK[n] RSDATA[n]
B6 B7 B8 F1 F2 F3 F4 F5 F6 F7 F8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 TS 31 FAS / NFAS TS 1 TS 2
- Channelized E1 Receive Link Timing
13.4 Transmit Link Output Timing The timing relationship of the transmit clock (TSCLK[n]) and data (TSDATA[n]) signals of a unchannelized link is shown in Figure 32. The transmit data is viewed as a contiguous serial stream. There is no concept of time-slots in an unchannelized link. Each eight bits is grouped together into a byte with arbitrary byte alignment. Octet data is transmitted from most significant bit (B1 in Figure 32) and ending with the least significant bit (B8 in Figure 32). Bits are updated on the falling edge of TSCLK[n]. A transmit link may be stalled by holding the
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
380
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
corresponding TSCLK[n] quiescent. In Figure 32, bits B5 and B2 are shown to be stalled for one cycle while bit B6 is shown to be stalled for three cycles. In Figure 32, the quiescent period is shown to be a low level on TSCLK[n]. A high level, effected by extending the high phase of the previous valid bit, is also acceptable. Gapping of TSCLK[n] can occur arbitrarily without regard to either byte or frame boundaries. Figure 32 - Unchannelized Transmit Link Timing
TSCLK[n] TSDATA[n]
B1 B2 B3 B4 B5 B6 B7 B8 B1 B2
The timing relationship of the transmit clock (TSCLK[n]) and data (TSDATA[n]) signals of a channelized T1 link is shown in Figure 33. The transmit data stream is a T1 frame with a single framing bit (F in Figure 33) followed by octet bound time-slots 1 to 24. TSCLK[n] is held quiescent during the framing bit. The most significant bit of each time-slot is transmitted first (B1 in Figure 33). The least significant bit of each time-slot is transmitted last (B8 in Figure 33). The TSDATA[n] bit (B8 of TS24) before the framing bit is the least significant bit of time-slot 24. In Figure 33, the quiescent period is shown to be a low level on TSCLK[n]. A high level, effected by extending the high phase of bit B8 of time-slot TS24, is equally acceptable. In channelized T1 mode, TSCLK[n] can only be gapped during the framing bit. It must be active continuously at 1.544 MHz during all time-slot bits. Time-slots that are not provisioned to belong to any channel (the PROV bit in the corresponding word of the transmit channel provision RAM in the TCAS block set low) transmit the contents of the Idle Fill Time-slot Data register. Figure 33 - Channelized T1 Transmit Link Timing w/ Clock gapped Low
TSCLK[n] TSDATA[n]
B7 B8 TS 24 B1 F B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 TS 1 TS 2
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
381
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 34
- Channelized T1 Transmit Link Timing w/ Clock gapped high
TSCLK[n]
TSDATA[n]
B7 B8 TS 24 F
B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 TS 1 TS 2
The timing relationship of the transmit clock (TSCLK[n]) and data (TSDATA[n]) signals of a channelized E1 link is shown in Figure 35. The transmit data stream is an E1 frame with a single framing byte (FAS/NFAS in Figure 35) followed by octet bound time-slots 1 to 31. TSCLK[n] is held quiescent during the framing byte. The most significant bit of each time-slot is transmitted first (B1 in Figure 35). The least significant bit of each time-slot is transmitted last (B8 in Figure 35). The TSDATA[n] bit (B8 of TS31) before the framing byte is the least significant bit of time-slot 31. In Figure 35, the quiescent period is shown to be a low level on TSCLK[n]. A high level, effected by extending the high phase of bit B8 of time-slot 31, is equally acceptable. In channelized E1 mode, TSCLK[n] can only be gapped during the framing byte. It must be active continuously at 2.048 MHz during all time-slot bits. Time-slots that are not provisioned to belong to any channel - i.e., the PROV bit in the corresponding word of the transmit channel provision RAM in the TCAS block is set low - transmit the contents of the Idle Time-slot Fill Data register. Figure 35
TSCLK[n] TSDATA[n]
B6 B7 B8 TS 31 B1 FAS / NFAS B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 TS 1 TS 2
- Channelized E1 Transmit Link Timing w/ Clock gapped Low
Figure 36
TSCLK[n] TSDATA[n]
- Channelized E1 Transmit Link Timing w/ Clock gapped High
B6 B7 B8 TS 31 FAS / NFAS
B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 TS 1 TS 2
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
382
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Alternatively, the CTSCLK can be used instead of the TSCLK[n] to lock the clocks of all the links together 13.5 Any-PHY/UTOPIA L2 Interfaces While the following diagrams present representative waveforms, they are not an attempt to unambiguously describe the interfaces. The Pin Description section is intended to present the detailed pin behavior and constraints on use. The following parameters apply to all Any-PHY/UTOPIA interface figures: m = 7 for 8-bit mode, 15 for 16-bit mode k = is a function of 8/16 bit mode and number of prepends selected. 13.5.1 UTOPIA L2 Transmit Slave Interface Figure 37 gives an example of the functional timing of the transmit interface when configured as a 31-port UTOPIA L2 compliant transmit slave. The interface responds to the enabled addresses as defined by the register Transmit Cell Available Enable by asserting the TCA corresponding to the addressed PHY when it is capable of accepting a complete cell. As a result, the master selects one of the S/UNI-IMA-84's PHYs by presenting the PHY address again during the last cycle TENB is high. If the device had not been selected, TSOC, TDAT[m:0], and TPRTY would have remained high-impedance. Figure 37 illustrates that a cell transfer may be paused by deasserting TENB. The device is reselected by presenting the PHY's address the last cycle TENB is high to resume the transfer.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
383
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 37
TCLK TADR[4:0]
- UTOPIA L2 Transmit Slave
DEV 1
IMA-PHY-X
DEV 3
IMA-PHY-X
DEV 2
1 TCLK TCA TDAT[m:0], TPRTY TENB TSOP
Data K-3 Data K-2 Data K-1 Data K Data 0 Data 1
13.5.2 Any-PHY Transmit Slave Interface Figure 38 gives an example of the functional timing of the transmit interface when configured as an 84-port Any-PHY compliant transmit slave. The Any-PHY master polls the ports in the S/UNI-IMA-84 and the S/UNI-IMA-84 device responds by driving TPA. If the S/UNI-IMA's polled port is capable of accepting a complete cell, TPA is driven active otherwise the TPA is driven inactive. Positive responses are recorded by the master and will eventually result in a data transfer. Ports are selected for data transfers via an in-band address prepend in first word of the data transfer. Polling continues independent of the data transfer state. Data transfers are initiated with the assertion of TENB and TSX; they complete without pausing.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
384
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 38
TCLK TADR[10:0] TCSB
- Any-PHY Transmit Slave
IMA-ADR
PHY 7
PHY 1
PHY 0
2 TCLK TPA TDAT[m:0], TPRTY TENB TSX TSOP
PHY 8 ADR Data 1 IMA-ADR Data 2 Data 3 Data K-1 Data K IMA-ADR PHY 1 Data 1
13.5.3 UTOPIA L2 Multi-PHY Receive Slave Interface Figure 39 gives an example of the functional timing of the receive interface when configured as a 31-port UTOPIA L2 compliant receive slave. The interface responds to addresses (as specified by the register Receive Cell Available Enable) by asserting the RCA corresponding to the addressed PHY when it is capable of providing a complete cell. As a result, the master selects one of the S/UNI-IMA-84's PHYs by presenting the PHY address again during the last cycle RENB is high. Had not the device been selected, RSOC, RDAT[m:0], and RPRTY would have remained high-impedance. Figure 39 illustrates that a cell transfer may be paused by deasserting RENB. The device is reselected by presenting the PHY's address the last cycle RENB is high to resume the transfer.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
385
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 39
- UTOPIA L2 Multi-PHY Receive Slave
1 Polling 2 3 4 5 Selection 6 7 8 9 10
RCLK RADR[4:0] 1F PHY-X 1F 1 RCLK PHY-X Data K-3 Data K-2 Data K-1 PHY-Y 1F 1 RCLK PHY-Y Data K PHY-X 1F 1 RCLK PHY-X Data 0 PHY-Z 1F 1 RCLK PHY-Z Data 1 Data 2 PHY-Z 1F
RCA RDAT[m:0], RPRTY RENB RSOC
PHY-Z Data K-1
13.5.4 UTOPIA L2 single-PHY Receive Slave Interface Figure 40 gives an example of the functional timing of the receive interface when configured as a single port UTOPIA L2 compliant slave. The interface responds to the address that matches the DEVID specified in the RXAPS Configuration register by asserting the RCA when it is capable of providing a complete cell. As a result, the master selects the S/UNI-IMA-84 PHYs by presenting the PHY address again during the last cycle RENB is high. Had not the device been selected, RSOC, RDAT[m:0], and RPRTY would have remained high-impedance. Figure 40 illustrates that a cell transfer may be paused by deasserting RENB. The device is reselected by presenting the PHY's address the last cycle RENB is high to resume the transfer. Figure 40
1
- UTOPIA L2 Single-PHY Receive Slave
16-bit Utopia L2 Single Address Slave 2 3 4 5 6 7 8 9 10 11 12 13 14 Polling & Reselection Selection Back 2 Back Cell
RCLK RADR[4:0] 1F DEVID 1F N+1 1 RCLK RCA RDAT[m:0], RPRTY RENB RSOC D(n-3) D(n-2) PAUS DEVID D(n-1) 1F N+1 D(n) DEVID 1F N+2 1 RCLK DEVID D(0) D(1) D(2) D(n-1) D(n) D(0) D(1) D(2) D(3) 1F N+3 1F N+1 1F N 1F N+1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
386
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
13.5.5 Any-PHY Receive Slave Interface Figure 41 gives an example of the functional timing of the receive interface when configured as an Any-PHY compliant receive slave. The interface responds to the polling of address "IMA" (which matches the address defined by the Receive Any-PHY/UTOPIA Config register) by asserting RPA when it is capable of delivering a complete cell. The Any-PHY master repolls addresses until it receives an asserted RPA. As a result, the master re-selects the same RADR again during the last cycle RENB is high to initiate a transfer. Once transfer is initiated, RENB must remain asserted until the last data is received. Figure 41 - Any-PHY Receive Slave
1 RCLK RADR[4:0] RCSB 2 RCLK RPA PHY-Z 2 RCLK IMA-ADR PHY-Y IMA-ADR 2 RCLK RDAT[m:0], RPRTY RENB RSX RSOP IMA Add Data 0 Data 1 PHY-Z 1F IMA-AD 1F PHY-Y 1F IMA-AD 1F PHY-Z 1F PHY-Z PHY-A 2 Polling 3 4 5 6 7 8 9 10
Selection
13.6 SDRAM Interface The following three diagrams depict the timing for signals destined for the pins of the SDRAM during the Activate-Read (with Auto-precharge), Activate-Write (with Auto-precharge), and Auto-refresh command sequences and Power-Up and Initialization Sequence.. The cbcmd signal is not an actual signal; it merely represents the memory access command formed by the combination of the individual SDRAM control signals (e.g., cbcsb and cbrasb). Also note that reads/writes of cell buffers are always done in bursts of eight words, with 4 bursts per cells; the first and third bursts involve the even banks and the second and fourth bursts involve the odd banks in the SDRAM.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
387
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 42
- SDRAM Read Timing
SDRAM Read Mode Timing
1 sysclk
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cbcmd cbcsb cbrasb cbcasb cbweb cbdqm cbbs[1:0] cba[11, 9:0] cba[10] cbdq[15:0]
tRCD act0 desel/nop rd0
desel/nop
act
tRCD desel/nop rd1
desel/nop
tRCD act2 desel/nop
rd2
even bank even row even row even co prea d0 d1 odd row odd row d2 d3
odd bank odd col prea d4 d5 d6 d7 d8 d9 even row odd row
even bank even col prea
d10 d11 d12 d13 d14 d15 d16
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
388
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 43
- SDRAM Write Timing
SDRAM Write Mode Timing
1 sysclk
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cbcmd cbcsb cbrasb cbcasb cbweb cbdqm cbbs[1:0] cba[11, 9:0] cba[10] cbdq[31:0] cba[11]
act0
tRCD desel/nop
wr0
desel/nop
act1
tRCD desel/nop
wr1
desel/nop
act2
desel/nop
even bank even row even row d0 even row even co prea d1 d2 d3 d4 odd row odd row d5 d6
odd bank odd col prea d7 d8 d9 d10 odd row d11 d12
even bank even row even row d13 d14 d15 d16 even col
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
389
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 44
- SDRAM Refresh
SDRAM Refresh Mode Timing
1 sysclk
2
3
4
5
6
7
8
9
10
11
12
cbcmd cbcsb cbrasb cbcasb cbweb cbdqm cbbs[1:0] cba[11:0] cbdq[15:0]
refa
tRC desel/nop
act
desel/nop
00 400h
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
390
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 45
1 sysclk Vcc 2 3
- Power Up and Initialization Sequence
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
SDRAM Initialization Sequence (78 cyc) bucb_cben
REFA & tRC (9 cyc) sequence must be repeated 8 times, prior to MRS
CBRI performs first arbitration on cycle following MRS
cbcmd cbcsb cbrasb cbcasb cbweb cbdqm cbbs[1:0] cba[11:0] cbdq[15:0]
NOP
tRP (3cyc) PRE NOP
REF
NOP
REF
tRC (9cyc) NOP
MR
00 400h 033
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
391
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
14
ABSOLUTE MAXIMUM RATINGS Maximum ratings are the worst case limits that the device can withstand without sustaining permanent damage. They are not indicative of normal mode operation conditions. Table 38 Absolute Maximum Ratings -40C to +85C -40C to +125C -0.3V to +3.6V -0.3V to +6.0V -0.3V to VVDDO+0.3V -0.3V to 5.5V 1000 V 100 mA 20 mA +230C +150C
Ambient Temperature under Bias Storage Temperature 1.8V Supply Voltage 3.3V Supply Voltage Voltage on Any Pin(except 5V compatible) Voltage on Any Pin( 5V compatible) Static Discharge Voltage Latch-Up Current DC Input Current Lead Temperature Absolute Maximum Junction Temperature
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
392
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
15
D. C. CHARACTERISTICS TA = -40C to +85C, VDD = VDDtypical 8% (Typical Conditions: TC = 25C, VVDDI = 1.8V, VVDDO = 3.3V, VAVDDQ = 3.3V) Table 39 D.C. Characteristics
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
393
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Symbol VVDDI VVDDO VVDDQ VIL VIH1
Parameter Power Supply Power Supply Power Supply Input Low Voltage Input High Voltage for inputs: TSCLK[31:0], TCK, RSCLK[31:0], RCLK, TCLK, RSTB, SYSCLK, CTSCLK, REFCLK, WRB, RDB, DDATA[7:0], DDP, DC1FP, DV5, ADETECT, AC1FP, AJUST_REQ Input High Voltage for all other inputs and bidirects Output or Bidirectional Low Voltage
Min 1.656 3.03 3.03 0 2.2
Typ 1.8 3.3 3.3
Max 1.944 3.56 3.56 0.8
Units Volts Volts Volts Volts Volts
Conditions
Guaranteed Input Low voltage. Guaranteed Input High voltage.
VIH2 VOL
2.0
Volts
Guaranteed Input High voltage. Guaranteed output Low voltage at VDD=3.03V and IOL=maximum rated for pad. Guaranteed output High voltage at VDD=3.03V and IOH=maximum rated current for pad. Applies to RSTB and TRSTB only. Applies to RSTB and TRSTB only.
TBD
0.4
Volts
VOH
Output or Bidirectional High Voltage
2.4
TBD
Volts
VT+ VT-
Reset Input High Voltage Reset Input Low Voltage
2.0 0.8
Volts Volts
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
394
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
VTH IILPU IIHPU IIL IIH CIN COUT CIO IDDOP
Reset Input Hysteresis Voltage Input Low Current Input High Current Input Low Current Input High Current Input Capacitance Output Capacitance Bi-directional Capacitance Operating Current
TBD 10 -10 -10 -10 0 0 0 5 5 5 TBD 200 +10 +10 +10
Volts
Applies to RSTB and TRSTB only. VIL = GND. Notes 1 and 3. VIH = VDD. Notes 1 and 3. VIL = GND. Notes 2 and 3. VIH = VDD. Notes 2 and 3. tA=25C, f = 1 MHz tA=25C, f = 1 MHz tA=25C, f = 1 MHz VDD = max, Outputs Unloaded
A A A A pF pF pF mA
Notes on D.C. Characteristics: 1) Input pin or bi-directional pin with internal pull-up resistor. 2) Input pin or bi-directional pin without internal pull-up resistor. 3) Negative currents flow into the device (sinking), positive currents flow out of the device (sourcing).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
395
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
16
A.C. TIMING CHARACTERISTICS
(TC = -40C to +85C, VDD = 3.3 V 8%) Notes on Input Timing: 1. When a set-up time is specified between an input and a clock, the set-up time is measured from the 50% point of the input to the 50% point of the clock. 2. When a hold time is specified between a clock and an input, the hold time is measured from the 50% point of the clock to the 50% point of the input. Notes on Output Timing: 1. Output timing is measured between the 50% point of the clock to the 50% point of the output. 16.1 MICROPROCESSOR INTERFACE TIMING CHARACTERISTICS Table 40 Symbol tSAR tHAR tSALR tHALR tVL tSLR tHLR tPRD tZRD tZINTH Microprocessor Interface Read Access Parameter Address to Valid Read Set-up Time Address to Valid Read Hold Time Address to Latch Set-up Time Address to Latch Hold Time Valid Latch Pulse Width Latch to Read Set-up Latch to Read Hold Valid Read to Valid Data Propagation Delay Valid Read Negated to Output Tristate Valid Read Negated to Output Tristate Min 5 5 5 5 20 0 5 30 20 50 Max Units ns ns ns ns ns ns ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
396
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 46
- Microprocessor Interface Read Timing
tSAR
A[10:1] tS ALR
Valid
Address
tH tH ALR
AR
tV L ALE tS (CSB+RDB)
LR
tHLR
tZ INTH INTB
tPRD D[15:0]
tZ RD
Valid Data
Notes on Microprocessor Interface Read Timing: 1. Maximum output propagation delays are measured with a 100 pF load on the Microprocessor Interface data bus (D[15:0]). 2. A valid read cycle is defined as a logical OR of the CSB and the RDB signals. 3. In non-multiplexed address/data bus architectures, ALE should be held high so that parameters tSALR, tHALR, tVL, and tSLR are not applicable. 4. Parameter tHAR is not applicable if address latching is used.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
397
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Table 41 Symbol tSAW tSDW tSALW tHALW tVL tSLW tHLW tHDW tHAW tVWR
Microprocessor Interface Write Access Parameter Address to Valid Write Set-up Time Data to Valid Write Set-up Time Address to Latch Set-up Time Address to Latch Hold Time Valid Latch Pulse Width Latch to Write Set-up Latch to Write Hold Data to Valid Write Hold Time Address to Valid Write Hold Time Valid Write Pulse Width Min 5 10 5 5 20 0 5 5 5 20 Max Units ns ns ns ns ns ns ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
398
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 47
- Microprocessor Interface Write Timing
A[10:1] tS ALW tV L ALE tSAW (CSB+WRB)
Valid Address
tH ALW tS LW tHLW
tVWR
tH AW
tS DW D[15:0]
tH DW
Valid Data
Notes on Microprocessor Interface Write Timing:
1. A valid write cycle is defined as a logical OR of the CSB and the WRB signals. 2. In non-multiplexed address/data bus architectures, ALE should be held high so that parameters tSALW, tSALW, tVL, tSLW and tHLW are not applicable. 3. Parameter tHAW is not applicable if address latching is used.
Table 42 Symbol RTSB Timing Description Min Max Units
tVRSTB
RSTB Pulse Width
100
Ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
399
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 48
- RSTB Timing
16.2 Synchronous I/O Timing Figure 49
CLK Ts Input Tp Tz Output Tzb Th
- Synchronous I/O Timing
Table 43 Symbol
SYSCLK and REFCLK Timing Description Min Max Units
fSYSCLK fREFCLK fREFCLK
Frequency, SYSCLK
20 40 19.44 - 50 ppm 40
55 60 19.44 +50 ppm 52 60
MHz % MHz MHz %
DSYSCLK Duty Cycle, SYSCLK Frequency, REFCLK (See Note 1) Frequency, REFCLK (See Note 2)
DSYSCLK Duty Cycle, REFCLK
Notes:
1. Applicable only when operating with the SBI interface.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
400
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
2. Applicable only when operating with the CLK/Data interface.
Table 44 Symbol Cell Buffer SDRAM Interface Description Min Max Units
Ts Th Tp Tz Tzb
Input Set-up time to SYSCLK Input Hold time to SYSCLK SYSCLK High to Output Valid SYSCLK High to Output High-Impedance SYSCLK High to Output Driven
2.5 0 1 1 1 10 10 Ns Ns ns
Maximum output propagation delays are measured with a 20pF load on the outputs. Minimum output propagation delays are measured with a 0 pF load on the outputs.
Table 45 Symbol Any-PHY/UTOPIA Transmit Interface Description Min Max Units
fCLK DCLK Ts Ts Th Tp Tz Tzb
TCLK Frequency TCLK Duty Cycle Input Set-up time to TCLK (except TCSB) Input Set-up time to TCLK ( TCSB only) Input Hold time to TCLK TCLK High to Output Valid TCLK High to Output High-Impedance TCLK High to Output Driven 40 4 6 0 1 1 1
52 60 % Ns Ns Ns 12 12 Ns Ns Ns
Maximum output propagation delays are measured with an 50pF load on the outputs. Minimum output propagation delays are measured with a 0 pF load on the outputs.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
401
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Table 46 Symbol
Any-PHY/UTOPIA Receive Interface Description Min Max Units
fCLK DCLK Ts Ts Th Tp Tz Tzb
RCLK Frequency RCLK Duty Cycle Input Set-up time to RCLK (except RCSB) Input Set-up time to RCLK (RCSB) Input Hold time to RCLK RCLK High to Output Valid RCLK High to Output High-Impedance RCLK High to Output Driven 40 4 6 0 1 1 0
52 60
MHz % ns ns ns
12 12
ns ns ns
Maximum output propagation delays are measured with an 50pF load on the outputs. Minimum output propagation delays are measured with a 0 pF load on the outputs.
Table 47 Symbol Serial Link Input Description Min Max Units
RSCLK[31:0] Frequency (See Note 1) RSCLK[31:0] Frequency (See Note 2) RSCLK[7:0] (See Note 3) RSCLK[31:8] (See Note 3) RSCLK[31:0] Duty Cycle tSRD tHRD RSDATA[31:0] Set-Up Time RSDATA[31:0] Hold Time
1.542 2.046
1.546 2.05 8 2.304
MHz MHz MHz MHz % Ns Ns
40 5 5
60
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
402
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Notes:
1. Applicable only to channelized T1 links and measured between framing bits. 2. Applicable only to channelized E1 links and measured between framing bytes. 3. Applicable only to unchannelized links of any format and measured between any two RCLK rising edges
Table 48 Symbol Serial Link Output Description Min Max Units
TSCLK[31:0] Frequency (See Note 3) TSCLK[31:0] Frequency (See Note 4) TSCLK[7:0] Frequency (See Note 5) TSCLK[31:8] Frequency (See Note 5) TSCLK[31:0] Duty Cycle tPTD TSCLK[31:0] Low to TSDATA[31:0] Valid. See Note 1.
1.542 2.046
1.546 2.05 8 2.304
MHz MHz MHz MHz % Ns
40 2
60 27
Notes on Output Timing:
1. Maximum output propagation delays are measured with a 50 pF 2. Minimum output propagation delays are measured with a 0 pF 3. Applicable only to channelized T1 links and measured between framing bits. 4. Applicable only to channelized E1 links and measured between framing bytes. 5. Applicable only to unchannelized links of any format and measured between any two TCLK rising edges
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
403
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
16.3 SBI Timing Table 49 Symbol SBI Frame Pulse Timing Description Min Max Units
TSC1FP THC1FP
Figure 50
AC1FP and DC1FP Set-Up Time to REFCLK AC1FP and DC1FP Hold Time to REFCLK
- SBI Frame Pulse Timing
4 0
ns ns
REFCLK tSC1FP C1FP tHC1FP
Table 50 Symbol
SBI DROP BUS Timing Description Min Max Units
tSSBIDROP tHSBIDROP
All SBI DROP BUS Inputs Set-Up Time to REFCLK
4
ns ns
All SBI DROP BUS Inputs Hold Time 0 to REFCLK
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
404
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 51
- SBI DROP BUS Timing
REFCLK
tS SBIDRO P DDATA[7:0] DDP, DPL DV5
tH SBIDROP
Table 51 Symbol
SBI ADD BUS Description Min Max Units
tSSBIADD tHSBIADD tPAACTIVE tPSBIADD tZSBIADD tPOUTEN tZOUTEN
AJUST_REQ Set-Up Time to REFCLK AJUST_REQ Hold Time to REFCLK REFCLK to AACTIVE Valid REFCLK to All SBI ADD BUS Outputs (except AACTIVE) Valid REFCLK to All SBI ADD BUS Outputs (except AACTIVE) Tristate ADETECT low to All SBI ADD BUS Outputs (except AACTIVE) Valid ADETECT high to All SBI ADD BUS Outputs (except AACTIVE) Tristate
4 0 0 0 0 0 0 15 20 15 12 12
ns ns ns ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
405
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 52
- SBI ADD BUS Timing
REFCLK
tS SIADD AJUST_REQ
tH ABIADD
tP AACT IVE AACTIVE tP SBIADD ADATA[7:0] ADP, APL, AV5 tZ SBIADD ADATA[7:0] ADP, APL, AV5
Figure 53
- SBI ADD BUS Collision Avoidance Timing
ADETECT[n]
tP OUTEN ADATA[7:0] ADP, APL, AV5
tZ O UTEN
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
406
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
16.4 JTAG Timing Table 52 Symbol JTAG Port Interface Description Min Max Units
TCK Frequency TCK Duty Cycle tSTMS tHTMS tSTDI tHTDI tPTDO tVTRSTB TMS Set-up time to TCK TMS Hold time to TCK TDI Set-up time to TCK TDI Hold time to TCK TCK Low to TDO Valid TRSTB Pulse Width 40 50 50 50 50 2 100
1 60
MHz % ns ns ns ns
50
ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
407
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
Figure 54
- JTAG Port Interface Timing
TCK tS TMS TMS tS TDI TDI tH TDI tH TMS
TCK tP TDO TDO
tV TRSTB TRSTB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
408
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
17
ORDERING AND THERMAL INFORMATION Table 53 Part No. Ordering and Thermal Information Description
PM7341
Table 54
416 Plastic Ball Grid Array (PBGA)
Thermal information - Theta Ja vs. Airflow
Forced Air (Linear Feet per Minute) Conv 100 200 300
Theta JA @ specified power Dense Board
400
500
28.5
25.7
24.0
22.9
22.4
22.2
JEDEC Board
21.2
19.5
18.3
17.5
16.9
16.4
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
409
PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4
PM7341 S/UNI-IMA-84
INVERSE MULTIPLEXING OVER ATM
18
MECHANICAL INFORMATION Figure 55
0.20 (2X)
- 416 PIN PBGA -27x27 MM Body - (P SUFFIX)
D D1
A
Px
B 26 24 22 20 18 16 14 12 10 86 4 2 25 23 21 19 17 15 13 11 975 31
A1 BALL CORNER
A1 BALL CORNER
A C
B D F H K M P T V
b
E G J L
E1 E
N R U W
Py
e
45o CHAMFER 4 PLACES
AC AE
Y AA AB AD AF
J
0.20 (2X)
AVAILABLE MARKING AREA
I
e
TOP VIEW
30 TYP +/- 1%
BOTTOM VIEW
"d" DIA. 3 PLACES
A A2
bbb C aaa C
C
C
A1
SEATING PLANE
SIDE VIEW
NOTES: 1) ALL DIMENSIONS IN MILLIMETER. 2) DIMENSION aaa DENOTES COPLANARITY. 3) DIMENSION bbb DENOTES PARALLEL.
PACKAGE TYPE : 416 PLASTIC BALL GRID ARRAY - PBGA BODY SIZE : 27 x 27 x 2.28 MM (4 layer)
Dim. Min. Nom. Max.
(2 layer) (4 layer)
A
A
A1
0.40 0.50 0.60
A2
1.12
D
-
D1
E
-
E1
(2 layer) (4 layer)
C
C
I
1.00 -
J
-
b
0.50
d
1.0 0 -
e
1.00 -
Px
Py
aaa bbb
-
1.82 2.07 2.03 2.22 2.28 2.49
0.30
0.55 0.61 0.67
24.90 24.90 25.00 25.00
1.17 27.00 24.00 27.00 24.00 0.36 BSC BSC BSC BSC 1.22 0.40
1.00 0.63 0.70
25.10 25.10 0.15 0.35
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
410


▲Up To Search▲   

 
Price & Availability of 2000223

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X